张善主

fix(增加登录判断): 已登录才请求接口

@@ -90,7 +90,9 @@ export struct ZhSingleRow03 { @@ -90,7 +90,9 @@ export struct ZhSingleRow03 {
90 } 90 }
91 91
92 async aboutToAppear(): Promise<void> { 92 async aboutToAppear(): Promise<void> {
93 - this.getReserveState(); 93 + if (HttpUtils.getUserId()) {
  94 + this.getReserveState();
  95 + }
94 this.loadImg = await onlyWifiLoadImg(); 96 this.loadImg = await onlyWifiLoadImg();
95 } 97 }
96 98