@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user