diff --git a/backend/init/viper/viper.go b/backend/init/viper/viper.go index 31f68bed4..9e819c702 100644 --- a/backend/init/viper/viper.go +++ b/backend/init/viper/viper.go @@ -14,8 +14,7 @@ import ( ) func Init() { - //stdout, err := cmd.Exec("grep '^BASE_DIR=' /usr/bin/1pctl | cut -d'=' -f2") - stdout, err := cmd.Exec("grep '^BASE_DIR=' /Users/wangzhengkun/Downloads/1pctl | cut -d'=' -f2") + stdout, err := cmd.Exec("grep '^BASE_DIR=' /usr/bin/1pctl | cut -d'=' -f2") if err != nil { panic(err) } diff --git a/frontend/src/components/app-layout/menu/index.scss b/frontend/src/components/app-layout/menu/index.scss index 5229b4a15..1303b27c8 100644 --- a/frontend/src/components/app-layout/menu/index.scss +++ b/frontend/src/components/app-layout/menu/index.scss @@ -12,13 +12,6 @@ min-width: auto; padding-left: 22px; - // span { - // color: rgba(31, 35, 41, 1); - // } - - // .el-icon { - // color: rgba(31, 35, 41, 1); - // } &:hover { .el-icon { color: $primary-color; @@ -30,17 +23,8 @@ } &.is-active { background-color: #ffffff; - border: 2px solid $primary-color; - // span { - // color: $primary-color; - // } - - // .el-icon { - // color: $primary-color; - // } - &::before { position: absolute; border-radius: 4px; @@ -97,72 +81,3 @@ padding: 4px 8px; } } - -// .el-menu--popup { -// padding: 4px; -// background: none !important; - -// :deep(.el-sub-menu) { -// margin: 10px; - -// span { -// color: rgba(31, 35, 41, 1); -// } -// .el-icon { -// color: rgba(31, 35, 41, 1); -// } - -// .el-sub-menu__title { -// background-color: $menu-item-backgroup-color !important; -// height: 44px; -// border-radius: 4px !important; -// } - -// &.is-opened, -// &.is-active { -// .el-sub-menu__title { -// span { -// color: $primary-color; -// } - -// .el-icon { -// color: $primary-color; -// } -// } -// } - -// .el-menu { -// background-color: $menu-item-backgroup-color; -// } -// .el-menu-item { -// border-radius: 4px !important; -// margin-left: 0px !important; -// min-width: 100% !important; -// height: 44px; -// } -// } - -// .el-menu-item:hover { -// .el-icon { -// color: $primary-color; -// } - -// span { -// color: $primary-color; -// } -// } - -// .el-sub-menu:hover { -// .sub-icon { -// color: $primary-color; -// } - -// .sub-span { -// color: $primary-color; -// } -// } -// } - -// .el-menu--collapse { -// width: 85px; -// }