Commit fd55c9f6d27efb602ed7e80191040036beedbf87

Authored by xp.Huang
2 parents 1125e32c 346f15dd

Merge branch 'fix/show-requestok' into 'main_dev'

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

See merge request yunteng/thingskit-app!111
... ... @@ -31,6 +31,11 @@
31 31 // #endif
32 32 },
33 33 onHide() {},
  34 + onUnload(){
  35 + uni.setStorageSync('getConfiguration', {
  36 + isConfiguration: false
  37 + });
  38 + },
34 39 methods:{
35 40 // 判断是否是第三方登录没有绑定账号不请求数据
36 41 getBindNot(){
... ...
... ... @@ -21,6 +21,9 @@
21 21 };
22 22 },
23 23 onLoad() {
  24 + uni.setStorageSync('getConfiguration', {
  25 + isConfiguration: false
  26 + });
24 27 this.getPlateForm();
25 28 },
26 29 created() {
... ...
... ... @@ -98,14 +98,17 @@
98 98 },
99 99 });
100 100 //#endif
  101 + uni.setStorageSync('getConfiguration', {
  102 + isConfiguration: false
  103 + });
101 104 },
102 105 computed: {
103 106 ...mapState(["plateInfo"]),
104 107 },
105   - mounted() {
106   - this.getPlateForm();
107   - },
108 108 onShow() {
  109 + uni.setStorageSync('getConfiguration', {
  110 + isConfiguration: false
  111 + });
109 112 this.getPlateForm();
110 113 },
111 114 methods: {
... ...