Browse Source

fix: update biome config

pull/11496/head
afc163 9 months ago
parent
commit
88eb2e70f3
  1. 2
      biome.json
  2. 2
      public/scripts/loading.js

2
biome.json

@ -1,7 +1,7 @@
{
"$schema": "https://biomejs.dev/schemas/2.0.6/schema.json",
"files": {
"ignoreUnknown": false,
"ignoreUnknown": true,
"includes": [
"**",
"!**/.umi",

2
public/scripts/loading.js

@ -2,7 +2,7 @@
* loading 占位
* 解决首次加载时白屏的问题
*/
(() => {
(function () {
const _root = document.querySelector('#root');
if (_root && _root.innerHTML === '') {
_root.innerHTML = `

Loading…
Cancel
Save