fix(h5): 非query模式下,删除uniacid
This commit is contained in:
5
App.vue
5
App.vue
@@ -1,7 +1,7 @@
|
||||
<script>
|
||||
import auth from 'common/js/auth.js';
|
||||
import { themeConfig } from 'common/js/config-external.js'
|
||||
import configExternal from 'common/js/config-external.js'
|
||||
|
||||
import {
|
||||
Weixin
|
||||
} from 'common/js/wx-jssdk.js';
|
||||
@@ -14,6 +14,9 @@
|
||||
if(options.query.uniacid){
|
||||
uni.setStorageSync('uniacid', options.query.uniacid);
|
||||
console.log(uni.getStorageSync('uniacid'))
|
||||
} else {
|
||||
// 从Storage中删除uniacid
|
||||
uni.removeStorageSync('uniacid');
|
||||
}
|
||||
uni.hideTabBar();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user