mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2025-10-01 14:57:11 +08:00
refactor: 调整 eslint.config.js,优化代码格式
This commit is contained in:
@@ -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')
|
||||
}
|
||||
|
Reference in New Issue
Block a user