bug 78316
This commit is contained in:
@@ -431,8 +431,14 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
emptyCurrForm () {
|
emptyCurrForm () {
|
||||||
|
// 不被重置的字段
|
||||||
|
const reserveField = ['parentId', 'orgCode']
|
||||||
|
const temp = {}
|
||||||
|
reserveField.forEach(key => {
|
||||||
|
temp[key] = this.model[key]
|
||||||
|
})
|
||||||
this.$refs.form.resetFields()
|
this.$refs.form.resetFields()
|
||||||
this.model = {}
|
this.model = temp
|
||||||
},
|
},
|
||||||
nodeSettingFormSubmit () {
|
nodeSettingFormSubmit () {
|
||||||
this.$refs.form.validate(valid => {
|
this.$refs.form.validate(valid => {
|
||||||
|
|||||||
Reference in New Issue
Block a user