修复个人资产链操作后列表不更新

This commit is contained in:
yuyongdong 2024-07-10 19:23:40 +08:00
parent d870ccfcc4
commit c79c6223b4
2 changed files with 4 additions and 1 deletions

View File

@ -63,6 +63,9 @@ const statusChild = (val) => {
// //
const renewMyNft = async() => { const renewMyNft = async() => {
let timer = setTimeout(() => { let timer = setTimeout(() => {
next_cursor.value = ''
statusValue.value = ''
overviewValue.value = ''
nftList.value = [] nftList.value = []
getMyAssets() getMyAssets()
// location.reload() // location.reload()

View File

@ -136,7 +136,6 @@ const getCartList = async () => {
// if(token) { // if(token) {
try { try {
let res = await marketplaceList.getCartListState() let res = await marketplaceList.getCartListState()
marketplaceList.getCartList = res marketplaceList.getCartList = res
} catch (e) { } catch (e) {
console.log(e) console.log(e)
@ -219,6 +218,7 @@ const buyAll = async () => {
} }
const buyHandleClose = () => { const buyHandleClose = () => {
getCartList()
buyDialogVisible.value = false buyDialogVisible.value = false
} }