This commit is contained in:
aihe 2024-07-30 00:33:55 +08:00
parent 3ca83e0f15
commit 900957280a

View File

@ -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){