feat:修改版本

This commit is contained in:
lixg
2023-03-08 00:06:13 +08:00
parent 6b15242ace
commit d6112b0907
2 changed files with 2 additions and 1 deletions

View File

@@ -27,7 +27,7 @@ import { GET_USER_INFO } from "@/api/ThirdApi";
import { getCookie } from "@/api/utils";
import { USER_INFO } from "@/api/api";
console.log("版本2.1.4------------");
console.log("版本2.1.5------------");
const store = useStore();
const router = useRouter();

View File

@@ -162,6 +162,7 @@ let timer = setInterval(() => {
if (data && data.value.submitEndTime) {
let endTime = parseInt(new Date(data.value.submitEndTime).getTime() / 1000);
let nowTime = parseInt(new Date().getTime() / 1000);
console.log("endTime222", endTime, nowTime);
if (endTime > nowTime) {
state.hour = parseInt(
dayjs(data.value.submitEndTime).diff(dayjs(), "minute") / 60