Parcourir la source

客户状态获取失败处理

liyuan il y a 1 mois
Parent
commit
77b3f24ab4
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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