fixed: Fixed an issue where the data would not refresh after the Save and Continue Add button was successfully added

This commit is contained in:
zhaojisen
2024-07-22 10:31:54 +08:00
parent 58bd0a17c8
commit 16417ae843
2 changed files with 4 additions and 6 deletions

View File

@@ -33,6 +33,7 @@
>
{{ iSubmitBtnText }}
</el-button>
<el-button
v-if="defaultButton && hasSaveContinue"
size="small"
@@ -40,6 +41,7 @@
>
{{ $t("SaveAndAddAnother") }}
</el-button>
<el-button
v-if="defaultButton && hasReset"
size="small"
@@ -47,6 +49,7 @@
>
{{ $t("Reset") }}
</el-button>
<el-button
v-for="button in moreButtons"
v-show="!button.hidden"
@@ -166,6 +169,7 @@ export default {
form.validate(valid => {
if (valid) {
this.$emit('submit', form.getFormValue(), form, addContinue)
this.resetForm()
} else {
this.$emit('invalid', valid)
scrollToError(form.$el)

View File

@@ -37,12 +37,6 @@ export default {
}
}
}
},
methods: {
}
}
</script>
<style lang="less" scoped>
</style>