Commit 4162af00 by caoyanzhi

update: 时效切换时,重置营销事件

parent 88f8e8c1
......@@ -226,6 +226,29 @@ export default {
}
},
watch: {
effectType(newType, oldType) {
// 触点切换成单次或重复,清空已选择的图文;
// 单次和重复间切换时,不需要清空操作;
// 单次切换触点或者重复切换触点,清空已选择的图文;
// 0:触点 1:重复 2:单次
if (oldType == 0 || newType == 0) {
this.list.forEach(el => {
if (el.comName == 'item-teletext') {
this.delItem(el);
}
});
}
// 单次切换成触点或者重复切换成触点,清空已选择的群发营销事件;
// 单次和重复之间切换,不需要清空操作;
if (newType == 0) {
this.list.forEach(el => {
if (el.comName == 'item-qfxx') {
this.delItem(el);
}
});
}
},
// useStored: {
// handler() {
// console.log('useStored');
......
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