|
@@ -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({
|