封装看板跳转页面

This commit is contained in:
2024-08-26 09:56:43 +08:00
parent 6705e5ef98
commit 02d3e63121
14 changed files with 410 additions and 63 deletions

View File

@@ -1,9 +1,9 @@
import * as types from '../types'
const baseUrl = process.env.NODE_ENV === 'development' ? 'http://192.168.81.162:8011' : 'http://192.168.81.162:8011'
const baseUrl = process.env.NODE_ENV === 'development' ? 'http://10.44.101.112:8081/#/setup' : 'http://10.44.101.112:8081/#/setup'
const state = {
baseUrl: uni.getStorageSync('baseUrl') || baseUrl,
setTime: uni.getStorageSync('setTime') || 5000,
setTime: uni.getStorageSync('setTime') || 50000,
loginName: uni.getStorageSync('loginName') ? uni.getStorageSync('loginName') : '',
userInfo: uni.getStorageSync('userInfo') ? uni.getStorageSync('userInfo') : '',
saveToken: uni.getStorageSync('saveToken') || ''