Ver Fonte

超级优惠券编辑

zhengjinyi há 2 anos atrás
pai
commit
5fb1849a95
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      src/views/member/coupon/edit.vue

+ 2 - 2
src/views/member/coupon/edit.vue

@@ -100,7 +100,7 @@
     <div class="filter-container">
       <div class="filter-control">
         <el-button @click="goBack">返回</el-button>
-        <el-button type="primary" @click="onSubmit('roleFrom')">保存</el-button>
+        <el-button type="primary" @click="onSubmit">保存</el-button>
       </div>
     </div>
     <!-- 供应商弹框 -->
@@ -236,7 +236,7 @@ export default {
     },
     handleAddList() {
       // 新增优惠券
-      this.formList.push(defaultForm)
+      this.formList.push(defaultForm())
     },
     handleDelete(item, index) {
       // 删除单挑优惠券