mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-05-03 03:48:23 +00:00
feat: optimized display
This commit is contained in:
@@ -313,7 +313,7 @@ export const useLogsData = () => {
|
|||||||
if (chain.length <= 1) {
|
if (chain.length <= 1) {
|
||||||
return t('原生格式');
|
return t('原生格式');
|
||||||
}
|
}
|
||||||
return chain.join(' -> ');
|
return `${t('转换')} ${chain.join(' -> ')}`;
|
||||||
};
|
};
|
||||||
|
|
||||||
let expandDatesLocal = {};
|
let expandDatesLocal = {};
|
||||||
@@ -486,6 +486,12 @@ export const useLogsData = () => {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (other?.request_path) {
|
||||||
|
expandDataLocal.push({
|
||||||
|
key: t('请求路径'),
|
||||||
|
value: other.request_path,
|
||||||
|
});
|
||||||
|
}
|
||||||
if (isAdminUser) {
|
if (isAdminUser) {
|
||||||
expandDataLocal.push({
|
expandDataLocal.push({
|
||||||
key: t('请求转换'),
|
key: t('请求转换'),
|
||||||
|
|||||||
Reference in New Issue
Block a user