chenrui преди 3 месеца
родител
ревизия
dd4a134d16
променени са 2 файла, в които са добавени 3 реда и са изтрити 0 реда
  1. 2 0
      src/views/promotionManagement/subsidizedProducts/editModal.vue
  2. 1 0
      src/views/promotionManagement/subsidizedProducts/list.vue

+ 2 - 0
src/views/promotionManagement/subsidizedProducts/editModal.vue

@@ -81,10 +81,12 @@ export default {
     },
     // 报错弹窗
     getErrorInfo (infoTip) {
+      const _this = this
       this.$info({
         title: '提示',
         content: infoTip,
         onOk () {
+          _this.$emit('ok')
           console.log('我知道了')
         }
       })

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

@@ -245,6 +245,7 @@ export default {
         centered: true,
         onOk () {
           console.log('我知道了')
+          this.clearChooseData()
         }
       })
     },