瀏覽代碼

切换无感失败,hideLoading

gcz 3 年之前
父節點
當前提交
b3c0acc9fb
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      pages/index/index.vue

+ 1 - 1
pages/index/index.vue

@@ -397,7 +397,7 @@ export default {
       });
 	  console.log('this.recordList[1]',this.recordList[1]);
 	  console.log('orderNav',this.orderNav)
-	  if(!this.recordList[1]){return}
+	  if(!this.recordList[1]){uni.hideLoading();return}
       this.$u.api.feePay({ vehicleId: this.recordList[1] })
         .then(res => {
 			console.log('res',res);