From 177d64284a8d1ee07ce4a1de36c2180a7ed1fc6f Mon Sep 17 00:00:00 2001 From: zhouhao <787329763@qq.com> Date: Thu, 04 Nov 2021 17:47:13 +0800 Subject: [PATCH] 修复代理端门店查询问题 --- 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