Commit 346f15dd576e2ef804a09a2171ad447046f94fc7

Authored by loveumiko
1 parent 091c34e0

fix: 修改登录时显示requeust:ok的问题

@@ -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(){
@@ -21,6 +21,9 @@ @@ -21,6 +21,9 @@
21 }; 21 };
22 }, 22 },
23 onLoad() { 23 onLoad() {
  24 + uni.setStorageSync('getConfiguration', {
  25 + isConfiguration: false
  26 + });
24 this.getPlateForm(); 27 this.getPlateForm();
25 }, 28 },
26 created() { 29 created() {
@@ -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: {