Commit 4c2af0c4 by chenwq

fix: 在确认处理中添加加载状态检查

防止在加载状态下重复提交表单
1 parent c882a894
......@@ -426,6 +426,9 @@ export default {
handleConfirm() {
const { disabled, id } = this.pageObject
if (disabled) return this.$router.go(-1)
if(this.loading) {
return true
}
this.$refs.fromRef.$refs.formRef.validate(async valid => {
if (valid) {
try {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!