|
@@ -149,7 +149,7 @@ export default {
|
|
|
copyData.name=""
|
|
|
copyData.tagName=""
|
|
|
this.editData = copyData;
|
|
|
- this.form.currentOrder = data.textGenerate+''
|
|
|
+ this.form.currentOrder = copyData.textGenerate+''
|
|
|
}
|
|
|
},
|
|
|
computed: {
|
|
@@ -159,8 +159,8 @@ export default {
|
|
|
},
|
|
|
watch: {
|
|
|
newSign(nextVal, prevVal) {
|
|
|
- const {isEdit} = this.$route.params;
|
|
|
- if (nextVal != prevVal && !isEdit) {
|
|
|
+ const {isEdit,isCopy} = this.$route.params;
|
|
|
+ if (nextVal != prevVal && !isEdit&&!isCopy) {
|
|
|
this.form.currentOrder = '0'
|
|
|
}
|
|
|
},
|