feat:样品库管理
This commit is contained in:
@@ -71,9 +71,17 @@ const user = defineStore({
|
||||
// await this.getRoleMenus()
|
||||
// await this.getDeviceTimeout()
|
||||
// this.startTimeoutChecker()
|
||||
uni.reLaunch({
|
||||
url: '/pages/index/index'
|
||||
})
|
||||
// 如果已经存在默认模块就跳转到对应的模块
|
||||
const defaultModulePath = uni.getStorageSync('defaultModule')
|
||||
if (defaultModulePath) {
|
||||
uni.reLaunch({
|
||||
url: defaultModulePath
|
||||
})
|
||||
} else {
|
||||
uni.reLaunch({
|
||||
url: '/pages/index/index'
|
||||
})
|
||||
}
|
||||
}
|
||||
},
|
||||
async getUserInfo() {
|
||||
|
||||
Reference in New Issue
Block a user