|
@@ -22,7 +22,7 @@ import { ref, onMounted, onUnmounted } from 'vue'
|
|
|
|
|
|
const timer = ref(null)
|
|
const timer = ref(null)
|
|
onMounted(() => {
|
|
onMounted(() => {
|
|
- console.log(1, 'import.meta', import.meta)
|
|
|
|
|
|
+ console.log(1, 'import.meta.env', import.meta.env)
|
|
// if (process.env.NODE_ENV === 'production') {
|
|
// if (process.env.NODE_ENV === 'production') {
|
|
// if (timer.value) clearInterval(timer.value)
|
|
// if (timer.value) clearInterval(timer.value)
|
|
// timer.value = setInterval(() => { checkVersion() }, 3000)
|
|
// timer.value = setInterval(() => { checkVersion() }, 3000)
|