Commit 489dbb73 authored by 罗超's avatar 罗超

1

parent f3e396fa
......@@ -408,7 +408,7 @@
<el-form-item label="购买须知" prop="OtherTag">
<!-- <el-input class="w300" type="text" v-model="addMsg.OtherTag" maxlength="200"></el-input> -->
<my-edit v-on:edit-value="addMsg.InstructionsList = arguments[0]" v-bind:editValue="addMsg.OtherTag"
<my-edit v-on:edit-value="addMsg.OtherTag = arguments[0]" v-bind:editValue="addMsg.OtherTag"
v-bind:toolbarShow="toolbar" v-bind:referenceList="DefaultList" v-bind:placeholder="placeholder"></my-edit>
</el-form-item>
<el-form-item label="套餐图片" prop="MealPic">
......@@ -570,6 +570,10 @@ import MyEdit from "@/components/EditTemplate.vue";
}, err => {})
},
saveResource() {
if(!this.addMsg.MealPic){
this.Error("请上传套餐图片")
return
}
if(Array.isArray(this.UsageTimeListArr)){
this.addMsg.UsageTime=this.UsageTimeListArr.toString()
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment