Showing
3 changed files
with
14 additions
and
3 deletions
@@ -31,6 +31,11 @@ | @@ -31,6 +31,11 @@ | ||
31 | // #endif | 31 | // #endif |
32 | }, | 32 | }, |
33 | onHide() {}, | 33 | onHide() {}, |
34 | + onUnload(){ | ||
35 | + uni.setStorageSync('getConfiguration', { | ||
36 | + isConfiguration: false | ||
37 | + }); | ||
38 | + }, | ||
34 | methods:{ | 39 | methods:{ |
35 | // 判断是否是第三方登录没有绑定账号不请求数据 | 40 | // 判断是否是第三方登录没有绑定账号不请求数据 |
36 | getBindNot(){ | 41 | getBindNot(){ |
@@ -98,14 +98,17 @@ | @@ -98,14 +98,17 @@ | ||
98 | }, | 98 | }, |
99 | }); | 99 | }); |
100 | //#endif | 100 | //#endif |
101 | + uni.setStorageSync('getConfiguration', { | ||
102 | + isConfiguration: false | ||
103 | + }); | ||
101 | }, | 104 | }, |
102 | computed: { | 105 | computed: { |
103 | ...mapState(["plateInfo"]), | 106 | ...mapState(["plateInfo"]), |
104 | }, | 107 | }, |
105 | - mounted() { | ||
106 | - this.getPlateForm(); | ||
107 | - }, | ||
108 | onShow() { | 108 | onShow() { |
109 | + uni.setStorageSync('getConfiguration', { | ||
110 | + isConfiguration: false | ||
111 | + }); | ||
109 | this.getPlateForm(); | 112 | this.getPlateForm(); |
110 | }, | 113 | }, |
111 | methods: { | 114 | methods: { |