29 lines
471 B
JavaScript
29 lines
471 B
JavaScript
/**
|
|
* {}
|
|
* @author yutent<yutent.io@gmail.com>
|
|
* @date 2023/09/04 11:11:51
|
|
*/
|
|
|
|
import { createStore } from 'wkitd'
|
|
|
|
export default createStore({
|
|
navi: localStorage.getItem('last_navi') || 'containers',
|
|
menus: [
|
|
{
|
|
id: 'containers',
|
|
name: '容器管理',
|
|
icon: 'layout'
|
|
},
|
|
{
|
|
id: 'images',
|
|
name: '镜像管理',
|
|
icon: 'menu'
|
|
},
|
|
{
|
|
id: 'volumes',
|
|
name: '磁盘管理',
|
|
icon: 'pie'
|
|
}
|
|
]
|
|
})
|