瀏覽代碼

修改bug

chenrui 3 月之前
父節點
當前提交
dd4a134d16

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

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

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

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