Merge branch 'video-no-updated' of http://git.kingsome.cn/yuyongdong/UAW into box-award

This commit is contained in:
yuyongdong 2024-04-24 20:20:19 +08:00
commit 1c73b95f90

View File

@ -798,6 +798,7 @@ import {
import { sendToChain, sendHelp } from "./../../utils/chainapi.js";
import { Wallet } from "@/wallet/index.js";
import { formatShowAddress } from "@/utils/utils.js";
import { formatDate } from '@/utils/utcdate.util.js';
export default {
components: {
@ -1343,7 +1344,8 @@ export default {
this.isLoading = true;
let storeageKey;
try {
storeageKey = await sendToChain("check", address, "");
let today = formatDate(new Date());
storeageKey = await sendToChain("check", address, today);
} catch (err) {
this.isLoading = false;
this.$showErr(err);