浏览代码

修改bug

chenrui 10 月之前
父节点
当前提交
8d1cbf1c15
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/views/promotionRulesManagement/promotionManagement/edit.vue

+ 2 - 2
src/views/promotionRulesManagement/promotionManagement/edit.vue

@@ -578,8 +578,8 @@ export default {
     // },
     // 券有效期 change
     handleValidType (con) {
-      this.sellForm.validType = con.target.value
-      if (con.target.value === 'FIXED') {
+      this.sellForm.validType = con
+      if (con === 'FIXED') {
         this.sellForm.validDays = undefined
       } else {
         this.time = []