🚨 忽略 NodeJS 的 undef

This commit is contained in:
目棃
2024-05-05 02:50:54 +08:00
parent afa0ba190b
commit 9a3b2ff9b9
3 changed files with 3 additions and 0 deletions

View File

@@ -29,6 +29,7 @@ const data = reactive<TGApp.Component.Snackbar.Params>({
text: "",
});
const show = ref<boolean>(false);
// eslint-disable-next-line no-undef
let timer: NodeJS.Timeout;
onMounted(() => {

View File

@@ -50,6 +50,7 @@ const visible = computed({
emits("update:modelValue", value);
},
});
// eslint-disable-next-line no-undef
let cycleTimer: NodeJS.Timeout | null = null;
const qrCode = ref<string>("");

View File

@@ -66,6 +66,7 @@ const jsonData = ref<TGApp.Plugins.Mys.Lottery.FullData>();
const timeStatus = ref<string>("未知");
const upWay = ref<string>("未知");
// eslint-disable-next-line no-undef
let timer: NodeJS.Timeout | undefined = undefined;
const visible = computed({