feat 下拉状态

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
Ironsp
2026-05-29 15:02:41 +08:00
parent 4b7ed6f727
commit f603317761
3 changed files with 43 additions and 8 deletions

View File

@@ -16,7 +16,7 @@ export const useDeviceStore = defineStore('devices', () => {
try {
const response = await getDevicetList(query);
console.log('获取设备列表:', response);
deviceList.value = response.data;
deviceList.value = response.rows;
} catch (error) {
console.error('获取设备列表失败', error);
}