fix: console.error
This commit is contained in:
@@ -190,6 +190,7 @@ const { mutate: getAlarmList, isPending: isTableLoading } = useMutation({
|
||||
tableData.value = records;
|
||||
},
|
||||
onError: (error) => {
|
||||
console.error(error);
|
||||
window.$message.error(error.message);
|
||||
},
|
||||
});
|
||||
@@ -225,6 +226,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