Commit 1193225d by 杨明

活动非必填

1 parent 20c356fc
......@@ -8,7 +8,6 @@
<glsx-combi-form :isInline="false" class="glsx-combi-form" ref="baseInfoRef" labelWidth="154px" defaultWidth="432px" :formObj="formObj" :formData="formData" :formRules="myRule">
<div slot="welcomeWordMaterial">
<GLEditor ref="welcome" :form="'customer'" style="line-height: 12px;" :btnList="btnList"></GLEditor>
<div v-if="!haveActivity" class="is_error">请选择活动</div>
</div>
</glsx-combi-form>
</div>
......@@ -196,8 +195,8 @@ export default {
const previewList = this.$common ? this.$common.utils.deepClone(this.$refs.welcome.previewList) : this.$refs.welcome.previewList
// 校验是否有填活动
this.haveActivity = previewList.find(item => item.attType == 7)
if (!this.haveActivity) return
// this.haveActivity = previewList.find(item => item.attType == 7)
// if (!this.haveActivity) return
const attachmentList = previewList.map(item => {
if (item && item.attType == 7) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!