diff --git a/src/components/assets/collectibles.vue b/src/components/assets/collectibles.vue index ab2c874..90e35e0 100644 --- a/src/components/assets/collectibles.vue +++ b/src/components/assets/collectibles.vue @@ -63,6 +63,9 @@ const statusChild = (val) => { // 更新数据 const renewMyNft = async() => { let timer = setTimeout(() => { + next_cursor.value = '' + statusValue.value = '' + overviewValue.value = '' nftList.value = [] getMyAssets() // location.reload() diff --git a/src/components/cart/index.vue b/src/components/cart/index.vue index a2552ae..135f900 100644 --- a/src/components/cart/index.vue +++ b/src/components/cart/index.vue @@ -136,7 +136,6 @@ const getCartList = async () => { // if(token) { try { let res = await marketplaceList.getCartListState() - marketplaceList.getCartList = res } catch (e) { console.log(e) @@ -219,6 +218,7 @@ const buyAll = async () => { } const buyHandleClose = () => { + getCartList() buyDialogVisible.value = false }