fix: console.error
This commit is contained in:
@@ -130,6 +130,7 @@ const { mutate: getVimpLogList, isPending: isTableLoading } = useMutation({
|
||||
tableData.value = records;
|
||||
},
|
||||
onError: (error) => {
|
||||
console.error(error);
|
||||
window.$message.error(error.message);
|
||||
},
|
||||
});
|
||||
@@ -164,6 +165,7 @@ const { mutate: downloadTableData, isPending: isDownloading } = useMutation({
|
||||
downloadByData(data, `设备告警记录.xlsx`);
|
||||
},
|
||||
onError: (error) => {
|
||||
console.error(error);
|
||||
window.$message.error(error.message);
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user