From c79c6223b4fdde620479c250a06f1377895ffe7e Mon Sep 17 00:00:00 2001 From: yuyongdong Date: Wed, 10 Jul 2024 19:23:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=AA=E4=BA=BA=E8=B5=84?= =?UTF-8?q?=E4=BA=A7=E9=93=BE=E6=93=8D=E4=BD=9C=E5=90=8E=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E4=B8=8D=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/assets/collectibles.vue | 3 +++ src/components/cart/index.vue | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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 }