mirror of
https://gitee.com/dromara/go-view.git
synced 2026-04-23 00:00:12 +08:00
feat: 新增创建接口,修改i8n部分内容
This commit is contained in:
+1
-1
@@ -107,7 +107,7 @@ export const reloadRoutePage = () => {
|
||||
export const logout = async () => {
|
||||
const res:any = await logoutApi()
|
||||
if(res.code === ResultEnum.SUCCESS) {
|
||||
window['$message'].success((`${window.$t('global.logout_success')}!`))
|
||||
window['$message'].success((`${window['$t']('global.logout_success')}!`))
|
||||
}
|
||||
clearCookie(RequestHttpHeaderEnum.COOKIE)
|
||||
clearLocalStorage(StorageEnum.GO_SYSTEM_STORE)
|
||||
|
||||
Reference in New Issue
Block a user