uu
This commit is contained in:
parent
762bba38b7
commit
40847f3ff5
@ -160,10 +160,12 @@
|
||||
this.goto(`address/edit?id=${item.id || ''}&addressType=${this.searchParam.addressType}`)
|
||||
},
|
||||
async handleDelItem(item) {
|
||||
await this.confirmModal('确认要删除吗?')
|
||||
await apiService.deleteAddressById({ id: item.id, _loading: true })
|
||||
this.showToast('操作成功')
|
||||
this.$refs.listRef.getDataList(true) // 重置到第一页数据
|
||||
let bl = await this.confirmModal('确认要删除吗?')
|
||||
if(bl) {
|
||||
await apiService.deleteAddressById({ id: item.id, _loading: true })
|
||||
this.showToast('操作成功')
|
||||
this.$refs.listRef.getDataList(true) // 重置到第一页数据
|
||||
}
|
||||
},
|
||||
async handleDefaultSwitch(item) {
|
||||
try{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user