From 88eb2e70f3e0779eed4b03d3e302076df50c8480 Mon Sep 17 00:00:00 2001 From: afc163 Date: Fri, 4 Jul 2025 12:16:49 +0800 Subject: [PATCH] fix: update biome config --- biome.json | 2 +- public/scripts/loading.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/biome.json b/biome.json index 1bd9e5e1..6fada946 100644 --- a/biome.json +++ b/biome.json @@ -1,7 +1,7 @@ { "$schema": "https://biomejs.dev/schemas/2.0.6/schema.json", "files": { - "ignoreUnknown": false, + "ignoreUnknown": true, "includes": [ "**", "!**/.umi", diff --git a/public/scripts/loading.js b/public/scripts/loading.js index 16e3ff4a..a4fdb3d5 100644 --- a/public/scripts/loading.js +++ b/public/scripts/loading.js @@ -2,7 +2,7 @@ * loading 占位 * 解决首次加载时白屏的问题 */ -(() => { +(function () { const _root = document.querySelector('#root'); if (_root && _root.innerHTML === '') { _root.innerHTML = `