代码调整
This commit is contained in:
parent
e5249cf4b3
commit
001a963b04
@ -138,6 +138,7 @@ export default {
|
|||||||
return field.type === type;
|
return field.type === type;
|
||||||
},
|
},
|
||||||
init() {
|
init() {
|
||||||
|
this.$refs.form.resetFields();
|
||||||
},
|
},
|
||||||
changeNumber(type, index, form, prop) {
|
changeNumber(type, index, form, prop) {
|
||||||
if (form[prop][index][type] == undefined || parseFloat(form[prop][index][type])) {
|
if (form[prop][index][type] == undefined || parseFloat(form[prop][index][type])) {
|
||||||
|
@ -113,6 +113,7 @@ export default {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
this.selected = null;
|
this.selected = null;
|
||||||
|
this.clear(this.enabledTab);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onSubmit() {
|
onSubmit() {
|
||||||
|
Loading…
Reference in New Issue
Block a user