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