|
@@ -96,8 +96,8 @@ const submit = async ()=> {
|
|
|
|
|
|
uni.setStorageSync('token', res.token)
|
|
|
uni.setStorageSync('userId', res.userId)
|
|
|
- // 开启监听 neo
|
|
|
- // uni.$emit('login',{userId:res.userId})
|
|
|
+ // todo 开启监听 neo
|
|
|
+ uni.$emit('login',{userId:res.userId})
|
|
|
console.log('11')
|
|
|
console.log('res.token',res.token)
|
|
|
// JSON.stringify(params.data.data)
|
|
@@ -107,6 +107,7 @@ const submit = async ()=> {
|
|
|
}
|
|
|
console.log('res.param',param)
|
|
|
await updateOnlineStatus(param)
|
|
|
+
|
|
|
uni.setStorageSync('hasPrinter', '0')
|
|
|
uni.redirectTo({
|
|
|
url:"/pages/index/index"
|