feat 全局系统名称bug

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
Ironsp
2026-05-29 11:47:50 +08:00
parent f149fca426
commit d1ed96b8fc
4 changed files with 41 additions and 1 deletions

View File

@@ -118,6 +118,12 @@
<script setup name="WarningList" lang="ts">
import { listDemo, updateDemo } from '@/api/WarningList/index';
//import { DemoVO, DemoQuery, DemoForm } from '@/api/WarningList/types';
import { useDeviceStore } from '@/store/modules/equipmentList';
import { storeToRefs } from 'pinia';
const deviceStore = useDeviceStore();
const { deviceList } = storeToRefs(deviceStore);
const { getdeviceList } = deviceStore;
const { proxy } = getCurrentInstance() as ComponentInternalInstance;
@@ -256,5 +262,6 @@ const submitForm = async () => {
onMounted(() => {
getList();
getdeviceList();
});
</script>