调整设备管理界面

This commit is contained in:
2025-09-30 23:52:59 +08:00
parent 7710abcf9e
commit 9a701b339b
3 changed files with 41 additions and 36 deletions

View File

@@ -8,7 +8,7 @@ class DeviceTemplateService {
async getDeviceTemplates() {
try {
const response = await apiClient.deviceTemplates.list();
return response.data || [];
return response || [];
} catch (error) {
console.error('获取设备模板列表失败:', error);
throw error;