Commit 95533fbf by cwq0219

修改

1 parent 52830121
......@@ -18,7 +18,7 @@
label='基本信息'
name='first'
>
<gl-col v-loading="IdChange[0]" :span="24" class="detail-basic">
<gl-col v-loading="basicLoading" :span="24" class="detail-basic">
<gl-col
class="detail-row"
:span="i.isMap? 24 : 8"
......@@ -134,7 +134,7 @@ export default {
merchantId: '',
// loading标记
// loading: [0, 0, 0],
// basicLoading: false,
basicLoading: false,
staffLoading: false,
groupLoading: false,
// 标记merchantId是否改变
......@@ -320,6 +320,7 @@ export default {
handleClick(tab, event) {
switch (tab.name) {
case 'first':
this.basicLoading = this.IdChange[0]
this.IdChange[0] && this.getBasicInfo()
break
case 'second':
......@@ -340,8 +341,10 @@ export default {
this.merchantInfo = res
this.assignBasicInfo()
this.IdChange[0] = 0
this.basicLoading = false
}).catch(err => {
this.IdChange[0] = 0
this.basicLoading = false
console.log(err)
notice.errorTips('查询失败')
})
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!