From 0bf3f3967322f09ec83051b93309866d2ef091c9 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期五, 04 七月 2025 11:10:30 +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