Quellcode durchsuchen

客户状态获取失败处理

liyuan vor 1 Monat
Ursprung
Commit
77b3f24ab4
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      pages/views/buyGoods/commodityDetails.vue

+ 1 - 1
pages/views/buyGoods/commodityDetails.vue

@@ -177,6 +177,7 @@
 			}
 		},
 		onLoad(onLoad) {
+      this.checkStatus = uni.getStorageSync('checkStatus');
       isProcurement({
         "param": "cloud_warehouse"
       }).then(res => {
@@ -191,7 +192,6 @@
 		},
 		methods: {
       loadList(onLoad){
-        this.checkStatus = uni.getStorageSync('checkStatus');
         if (uni.getStorageSync('whether_openShare') == 1) {
           appDetailNew(onLoad).then(res => {
             this.dataForm = res.data