|
@@ -47,9 +47,13 @@ export default {
|
|
|
|
|
|
|
|
if (option.account) {
|
|
if (option.account) {
|
|
|
uni.setStorageSync('account', option.account)
|
|
uni.setStorageSync('account', option.account)
|
|
|
|
|
+ }else{
|
|
|
|
|
+ uni.setStorageSync('account', 0)
|
|
|
}
|
|
}
|
|
|
if (option.hdId) {
|
|
if (option.hdId) {
|
|
|
uni.setStorageSync('hdId', option.hdId)
|
|
uni.setStorageSync('hdId', option.hdId)
|
|
|
|
|
+ }else{
|
|
|
|
|
+ uni.setStorageSync('hdId', 0)
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
uni.setStorageSync('currentQuery', JSON.stringify(option))
|
|
uni.setStorageSync('currentQuery', JSON.stringify(option))
|