Commit 28bdfa74 by haojie

1

parent ee9fc4fd
This source diff could not be displayed because it is too large. You can view the blob instead.
import{_ as s}from"./index-f62d30fa.js";import{A as r,K as o}from"./vue-5ad1589c.js";import"./Tdesign-41c4f0b7.js";const t={class:""};const e=s({},[["render",function(s,e){return r(),o("div",t,"lp")}]]);export{e as default}; import{_ as s}from"./index-db879754.js";import{A as r,K as o}from"./vue-5ad1589c.js";import"./Tdesign-41c4f0b7.js";const t={class:""};const e=s({},[["render",function(s,e){return r(),o("div",t,"lp")}]]);export{e as default};
import{_ as s}from"./index-f62d30fa.js";import{A as r,K as o}from"./vue-5ad1589c.js";import"./Tdesign-41c4f0b7.js";const t={class:""};const e=s({},[["render",function(s,e){return r(),o("div",t,"HOME")}]]);export{e as default}; import{_ as s}from"./index-db879754.js";import{A as r,K as o}from"./vue-5ad1589c.js";import"./Tdesign-41c4f0b7.js";const t={class:""};const e=s({},[["render",function(s,e){return r(),o("div",t,"HOME")}]]);export{e as default};
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<link rel="icon" type="image/svg+xml" href="/logo.png" /> <link rel="icon" type="image/svg+xml" href="/logo.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>RESDAO</title> <title>RESDAO</title>
<script type="module" crossorigin src="/assets/index-f62d30fa.js"></script> <script type="module" crossorigin src="/assets/index-db879754.js"></script>
<link rel="modulepreload" crossorigin href="/assets/vue-5ad1589c.js"> <link rel="modulepreload" crossorigin href="/assets/vue-5ad1589c.js">
<link rel="modulepreload" crossorigin href="/assets/Tdesign-41c4f0b7.js"> <link rel="modulepreload" crossorigin href="/assets/Tdesign-41c4f0b7.js">
<link rel="stylesheet" href="/assets/style-a0c53313.css"> <link rel="stylesheet" href="/assets/style-a0c53313.css">
......

27.7 KB | W: | H:

9.87 KB | W: | H:

public/logo.png
public/logo.png
public/logo.png
public/logo.png
  • 2-up
  • Swipe
  • Onion skin
import { defineComponent, PropType, ref } from 'vue'; import { defineComponent, onBeforeUnmount, PropType, ref } from 'vue';
import './index.less'; import './index.less';
import CustomCountDown from '../CountDown'; import CustomCountDown from '../CountDown';
import OpenSvg from '@/assets/svg/raffle/open.svg'; import OpenSvg from '@/assets/svg/raffle/open.svg';
...@@ -59,7 +59,7 @@ export default defineComponent({ ...@@ -59,7 +59,7 @@ export default defineComponent({
const openCheckInterval = () => { const openCheckInterval = () => {
InterVal = window.setInterval(() => { InterVal = window.setInterval(() => {
Check(); Check();
}, 2000); }, 1500);
}; };
// 关闭轮询 // 关闭轮询
const closeInterval = () => { const closeInterval = () => {
...@@ -151,6 +151,9 @@ export default defineComponent({ ...@@ -151,6 +151,9 @@ export default defineComponent({
MessagePlugin.warning(t('raffle.Unableto')); MessagePlugin.warning(t('raffle.Unableto'));
} }
}; };
onBeforeUnmount(() => {
closeInterval();
});
return () => ( return () => (
<div class="custom-card-detail"> <div class="custom-card-detail">
<div class="detail-head"> <div class="detail-head">
......
...@@ -12,7 +12,7 @@ export default defineConfig(({ command, mode }) => { ...@@ -12,7 +12,7 @@ export default defineConfig(({ command, mode }) => {
let newDate = `${date.getFullYear()}-${ let newDate = `${date.getFullYear()}-${
date.getMonth() + 1 date.getMonth() + 1
}-${date.getDate()}--${date.getHours()}.${date.getMinutes()}`; }-${date.getDate()}--${date.getHours()}.${date.getMinutes()}`;
let api = 1 ? 'http://147.161.32.43:8001' : 'http://127.0.0.1:8000'; let api = 0 ? 'http://147.161.32.43:8001' : 'http://127.0.0.1:8000';
return { return {
base: '/', base: '/',
resolve: { resolve: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment