소스 검색

修改bug

chenrui 3 달 전
부모
커밋
0bbbc2efbe
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      src/views/promotionManagement/subsidizedProducts/list.vue

+ 2 - 1
src/views/promotionManagement/subsidizedProducts/list.vue

@@ -239,13 +239,14 @@ export default {
     },
     // 报错弹窗
     getErrorInfo (infoTip) {
+      const _this = this
       this.$info({
         title: '提示',
         content: infoTip,
         centered: true,
         onOk () {
           console.log('我知道了')
-          this.clearChooseData()
+          _this.clearChooseData()
         }
       })
     },