|
@@ -229,7 +229,7 @@ export default {
|
|
|
watch: {
|
|
|
type:{
|
|
|
handler(newVal, preVal) {
|
|
|
- if(newVal != preVal){
|
|
|
+ if(newVal != preVal && !this.copyed){
|
|
|
this.form = {region: ''}
|
|
|
this.subTmpList = [] //子模板的id用于去重
|
|
|
this.leftTagsList = []
|
|
@@ -249,7 +249,7 @@ export default {
|
|
|
},
|
|
|
signe:{
|
|
|
handler(newVal, preVal) {
|
|
|
- if(newVal != preVal){
|
|
|
+ if(newVal != preVal && !this.copyed){
|
|
|
this.form = {region: ''}
|
|
|
this.subTmpList = [] //子模板的id用于去重
|
|
|
this.leftTagsList = []
|
|
@@ -285,6 +285,7 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
this.rightTagsList = [...lis]
|
|
|
+ this.$emit('changeActionData', this.rightTagsList, false);
|
|
|
this.getSubTemplate()
|
|
|
}
|
|
|
if(newVal != preVal && !this.copyed){
|