新增场景切换

This commit is contained in:
sjl
2025-07-01 14:58:11 +08:00
parent 9fecf0ce3f
commit d2f0382bd9
7 changed files with 56 additions and 4 deletions

View File

@@ -84,7 +84,6 @@ const modeList = [
const handelOpen = async (item: any) => {
modeStore.setCurrentMode(item.code); // 将模式code存入 store
const {data:scene} = await getCurrentScene(); // 获取当前场景
// AppSceneStore.setCurrentMode(scene+'');//0省级平台1设备出厂2研发自测
AppSceneStore.setCurrentMode(scene+'');//0省级平台1设备出厂2研发自测
await authStore.setShowMenu();