Fix can not autoload in production mode bug
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import { useUpdatedEffect } from '@/util/hooks'
|
||||
import { hasPermission } from '@/util/auth'
|
||||
import { r_sys_settings_base_get, r_sys_settings_base_update } from '@/services/system'
|
||||
import { SettingsCard } from '@/pages/System/Settings'
|
||||
@@ -40,7 +39,7 @@ const Base = () => {
|
||||
})
|
||||
}
|
||||
|
||||
useUpdatedEffect(() => {
|
||||
useEffect(() => {
|
||||
getBaseSettings()
|
||||
}, [])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user