From a5604d778ca31451a95d8dabdf94f7ebc78e5c55 Mon Sep 17 00:00:00 2001 From: zhaoxiaoqiang <287285524@qq.com> Date: Fri, 14 Apr 2023 11:24:10 +0800 Subject: [PATCH] v-console --- src/views/mine/stores/stores-detail.vue | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/views/mine/stores/stores-detail.vue b/src/views/mine/stores/stores-detail.vue index 3b501b3..7b0cd86 100644 --- a/src/views/mine/stores/stores-detail.vue +++ b/src/views/mine/stores/stores-detail.vue @@ -125,10 +125,10 @@ // 保存门店 Save() { - if (this.Btn) { - return; - } - this.Btn = true; + // if (this.Btn) { + // return; + // } + // this.Btn = true; let list = { addr: { province: { @@ -160,7 +160,9 @@ this.$api.storeEdit(list).then((res) => { this.Btn = false; this.$notify_success("保存成功!"); - }); + }).catch(err=>{ + this.Btn = false; + }) } }, -- Gitblit v1.8.0