perf: 支持授权给管理员查看和下载用户证书

This commit is contained in:
xiaojunnuo
2025-12-28 23:36:53 +08:00
parent f847c4a414
commit 1347355cb1
12 changed files with 213 additions and 13 deletions
+2 -2
View File
@@ -71,7 +71,7 @@ function createService() {
// @ts-ignore
response.config.onError(err);
}
errorCreate(`${errorMessage}: ${response.config.url}`, showErrorNotify, dataAxios);
errorCreate(`${errorMessage} (请求接口: ${response.config.url}`, showErrorNotify, dataAxios);
}
},
error => {
@@ -113,7 +113,7 @@ function createService() {
default:
break;
}
error.message += `: ${error.response?.config?.url}`;
error.message += ` 请求接口:${error.response?.config?.url}`;
errorLog(error, error?.response?.config?.showErrorNotify);
if (status === 401) {
const userStore = useUserStore();