mirror of
https://gitee.com/goploy/goploy.git
synced 2024-12-02 12:10:05 +08:00
F change namespace
This commit is contained in:
parent
c13089d5a9
commit
7af53db2c6
@ -167,6 +167,7 @@ import {
|
||||
getNamespace,
|
||||
getNamespaceList,
|
||||
setNamespace,
|
||||
setNamespaceIdCookie,
|
||||
removeNamespaceIdCookie,
|
||||
} from '@/utils/namespace'
|
||||
import { ElLoading } from 'element-plus'
|
||||
@ -201,6 +202,7 @@ export default defineComponent({
|
||||
},
|
||||
handleNamespaceChange(namespace) {
|
||||
setNamespace(namespace)
|
||||
setNamespaceIdCookie(namespace.id.toString())
|
||||
ElLoading.service({ fullscreen: true })
|
||||
location.reload()
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user