refactor: 调整 eslint.config.js,优化代码格式

This commit is contained in:
2024-10-28 21:20:08 +08:00
parent 0e8fe5ff1f
commit 9e5dff144b
176 changed files with 5956 additions and 5624 deletions

View File

@@ -27,7 +27,7 @@ const handleNotification = () => {
position: 'bottomRight',
footer: () => {
return h(Space, {}, () => [h(Button, { type: 'primary', onClick: () => onUpdateSystem(id) }, '更新'), h(Button, { type: 'secondary', onClick: () => onCloseUpdateSystem(id) }, '关闭')])
}
},
})
}
@@ -37,7 +37,7 @@ const handleNotification = () => {
*/
const getVersionTag = async () => {
const response = await fetch('/', {
cache: 'no-cache'
cache: 'no-cache',
})
return response.headers.get('etag') || response.headers.get('last-modified')
}