浏览代码

修改bug

chenrui 2 年之前
父节点
当前提交
f079b38260
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/views/numsGoodsShelves/approveStore/authPass.vue

+ 2 - 1
src/views/numsGoodsShelves/approveStore/authPass.vue

@@ -432,7 +432,6 @@ export default {
       }
     },
     getPriceList () {
-      debugger
       queryList({ shelfSn: this.$route.params.shelfSn, bizType: 'xprh_shelf_price_show' }).then(res => {
         if (res.status == 200) {
           this.priceList = res.data
@@ -442,6 +441,8 @@ export default {
           if (isFlag != -1) {
             this.flag = true
           }
+        } else {
+          this.priceList = []
         }
       })
     },