修复个人资产链操作后列表不更新
This commit is contained in:
parent
d870ccfcc4
commit
c79c6223b4
@ -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()
|
||||||
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user