فهرست منبع

[Fix 0000] 历史数据组件查询记录api调用错误问题修复

houzekong 1 هفته پیش
والد
کامیت
ee2ba7c69b
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/views/vent/comment/history/HistoryTable.vue

+ 1 - 1
src/views/vent/comment/history/HistoryTable.vue

@@ -226,7 +226,7 @@
     setLoading(true);
     setLoading(true);
     const pagination = getPaginationRef() as PaginationProps;
     const pagination = getPaginationRef() as PaginationProps;
     const deviceCode = (deviceInfo.value.deviceType || props.deviceCode.concat('*')) as string;
     const deviceCode = (deviceInfo.value.deviceType || props.deviceCode.concat('*')) as string;
-    const { records, total, current } = await list(deviceCode, deviceInfo, formData, pagination).finally(() => {
+    const { records, total, current } = await list(deviceCode, deviceInfo.value, formData, pagination).finally(() => {
       setLoading(false);
       setLoading(false);
     });
     });
     setPagination({
     setPagination({