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