소스 검색

修改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 = []
         }
       })
     },