[fix]checkin always loading...
This commit is contained in:
parent
1558790f93
commit
71573cefe4
@ -798,6 +798,7 @@ import {
|
|||||||
import { sendToChain, sendHelp } from "./../../utils/chainapi.js";
|
import { sendToChain, sendHelp } from "./../../utils/chainapi.js";
|
||||||
import { Wallet } from "@/wallet/index.js";
|
import { Wallet } from "@/wallet/index.js";
|
||||||
import { formatShowAddress } from "@/utils/utils.js";
|
import { formatShowAddress } from "@/utils/utils.js";
|
||||||
|
import { formatDate } from '@/utils/utcdate.util.js';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
@ -1335,7 +1336,8 @@ export default {
|
|||||||
this.isLoading = true;
|
this.isLoading = true;
|
||||||
let storeageKey;
|
let storeageKey;
|
||||||
try {
|
try {
|
||||||
storeageKey = await sendToChain("check", address, "");
|
let today = formatDate(new Date());
|
||||||
|
storeageKey = await sendToChain("check", address, today);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
this.isLoading = false;
|
this.isLoading = false;
|
||||||
this.$showErr(err);
|
this.$showErr(err);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user