From 89e540640b87f4be8656a5bc78f4a5dbcdf1c21f Mon Sep 17 00:00:00 2001 From: jiangping <jp@doumee.com> Date: 星期二, 01 七月 2025 15:53:41 +0800 Subject: [PATCH] ss --- admin/src/components/base/BaseOpera.vue | 15 ++++++++------- 1 files changed, 8 insertions(+), 7 deletions(-) diff --git a/admin/src/components/base/BaseOpera.vue b/admin/src/components/base/BaseOpera.vue index 7a13410..4a364eb 100644 --- a/admin/src/components/base/BaseOpera.vue +++ b/admin/src/components/base/BaseOpera.vue @@ -80,16 +80,17 @@ this.api.create(this.form) .then(() => { // that.$tip.apiSuccess('鏂板缓鎴愬姛') - that.$dialog.actionConfirmButton('鏄惁鍋滅暀璇ラ〉闈㈢户缁柊寤烘暟鎹紵', '鏂板缓鎴愬姛','缁х画娣诲姞','鍏抽棴杩斿洖') - .then(() => { + // that.$dialog.actionConfirmButton('鏄惁鍋滅暀璇ラ〉闈㈢户缁柊寤烘暟鎹紵', '鏂板缓鎴愬姛','缁х画娣诲姞','鍏抽棴杩斿洖') + // .then(() => { that.$refs.form.resetFields() + that.visible = false that.form[this.configData['field.id']] = null that.$emit('success') - }) - .catch(() => { - that.visible = false - that.$emit('success') - }) + // }) + // .catch(() => { + // that.visible = false + // that.$emit('success') + // }) }) .catch(e => { this.$tip.apiFailed(e) -- Gitblit v1.9.3