2
0

Merge remote-tracking branch 'origin/main'

This commit is contained in:
zhongzm
2025-02-26 14:32:21 +08:00
4 changed files with 12 additions and 8 deletions

View File

@@ -12,7 +12,10 @@ const { routerPushByKey } = useRouterPush();
function handleSelectMixMenu(menu: App.Global.Menu) { function handleSelectMixMenu(menu: App.Global.Menu) {
setActiveFirstLevelMenuKey(menu.key); setActiveFirstLevelMenuKey(menu.key);
// 选择首个子菜单
if (Array.isArray(menu.children) && menu.children.length > 0) {
routerPushByKey(menu.children[0].routeKey);
}
if (!menu.children?.length) { if (!menu.children?.length) {
routerPushByKey(menu.routeKey); routerPushByKey(menu.routeKey);
} }

View File

@@ -768,7 +768,6 @@ const local: any = {
selectGroup:'No Group', selectGroup:'No Group',
total:'Total', total:'Total',
name:'SSID Name', name:'SSID Name',
security:'Security',
none:'None', none:'None',
security: { security: {
security:'Security', security:'Security',

View File

@@ -769,12 +769,14 @@ const local:any = {
selectGroup:'无网络组', selectGroup:'无网络组',
total:'共', total:'共',
name:'SSID名称', name:'SSID名称',
security:'安全性',
none:'无', none:'无',
wpaEnterprise:'WPA-Enterprise', security: {
wpaPersonal:'WPA-Personal', security:'安全性',
ppskWithoutRadius:'PPSK without RADIUS', wpaEnterprise: 'WPA-Enterprise',
ppskWithRadius:'PPSK with RADIUS', wpaPersonal: 'WPA-Personal',
ppskWithoutRadius: 'PPSK without RADIUS',
ppskWithRadius: 'PPSK with RADIUS',
},
band:'频段', band:'频段',
guestNetwork:'访客网络', guestNetwork:'访客网络',
enable:'开启', enable:'开启',

View File

@@ -7,7 +7,7 @@ import { enableStatusRecord } from '@/constants/business';
import { SimpleScrollbar } from '~/packages/materials/src'; import { SimpleScrollbar } from '~/packages/materials/src';
import UserOperateDrawer from './modules/user-operate-drawer.vue'; import UserOperateDrawer from './modules/user-operate-drawer.vue';
import UserSearch from './modules/user-search.vue'; import UserSearch from './modules/user-search.vue';
import { LockOutlined } from '@ant-design/icons-vue'; import { UserOutlined, LockOutlined } from '@ant-design/icons-vue';
const wrapperEl = shallowRef<HTMLElement | null>(null); const wrapperEl = shallowRef<HTMLElement | null>(null);
const { height: wrapperElHeight } = useElementSize(wrapperEl); const { height: wrapperElHeight } = useElementSize(wrapperEl);