|
@@ -343,6 +343,7 @@ const changePop = (val, item) => {
|
|
};
|
|
};
|
|
// 查看历史记录
|
|
// 查看历史记录
|
|
const getDetail = (item) => {
|
|
const getDetail = (item) => {
|
|
|
|
+ historyList.value = [];
|
|
if (item.name == "ACC") {
|
|
if (item.name == "ACC") {
|
|
getList();
|
|
getList();
|
|
} else {
|
|
} else {
|
|
@@ -365,13 +366,7 @@ const getList = async () => {
|
|
}
|
|
}
|
|
};
|
|
};
|
|
const getDBList = async (DBaddress) => {
|
|
const getDBList = async (DBaddress) => {
|
|
- const res = await tokenTransfers(walletStore.account, {
|
|
|
|
- params: {
|
|
|
|
- type: "ERC-20,ERC-721,ERC-1155",
|
|
|
|
- filter: "to | from",
|
|
|
|
- token: DBaddress,
|
|
|
|
- },
|
|
|
|
- });
|
|
|
|
|
|
+ const res = await tokenTransfers(walletStore.account,DBaddress);
|
|
const items = res.items || [];
|
|
const items = res.items || [];
|
|
if (items.length > 0) {
|
|
if (items.length > 0) {
|
|
items.forEach((val) => {
|
|
items.forEach((val) => {
|