uu
This commit is contained in:
parent
3ca83e0f15
commit
900957280a
@ -20,7 +20,7 @@
|
||||
v-slot="curTab"
|
||||
>
|
||||
<text slot>
|
||||
(<text>{{curTab.item.val}}</text>)
|
||||
<!-- (<text>{{curTab.item.val}}</text>) -->
|
||||
</text>
|
||||
</tpx-tabs>
|
||||
</u-col>
|
||||
@ -169,7 +169,7 @@
|
||||
},
|
||||
async handleDefaultSwitch(item) {
|
||||
try{
|
||||
await apiService.setDefaultAddressById({ id: item.id, _loading: true })
|
||||
await apiService.setDefaultAddressById({ id: item.id, defaultFlag: Number(!!item.blDefaultFlag), _loading: true })
|
||||
this.showToast('操作成功')
|
||||
this.$refs.listRef.getDataList(true) // 重置到第一页数据
|
||||
}catch(e){
|
||||
|
||||
Loading…
Reference in New Issue
Block a user