feat: add base path to resources (#17655)
Co-authored-by: fhliu4 <fhliu4@iflytek.com>
This commit is contained in:
parent
12de1d175c
commit
7161d7ad96
30 changed files with 146 additions and 38 deletions
|
|
@ -80,12 +80,12 @@ const InstallForm = () => {
|
|||
fetchSetupStatus().then((res: SetupStatusResponse) => {
|
||||
if (res.step === 'finished') {
|
||||
localStorage.setItem('setup_status', 'finished')
|
||||
window.location.href = '/signin'
|
||||
router.push('/signin')
|
||||
}
|
||||
else {
|
||||
fetchInitValidateStatus().then((res: InitValidateStatusResponse) => {
|
||||
if (res.status === 'not_started')
|
||||
window.location.href = '/init'
|
||||
router.push('/init')
|
||||
})
|
||||
}
|
||||
setLoading(false)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue