Compare commits

..

8 Commits

Author SHA1 Message Date
Dot.L 60296bf3c9 Merge pull request #268 from APIParkLab/feature/1.6-liujian
update issue template: APINTO Dashboard -> ApiPark
2025-03-19 16:24:35 +08:00
Liujian 77d0d9bfb8 update issue template: APINTO Dashboard -> ApiPark 2025-03-19 16:23:23 +08:00
ningyv 6e0c66d982 Merge pull request #267 from APIParkLab/feature/1.6-cx
fix: Display only file logs on the log page.
2025-03-19 16:19:03 +08:00
ningyv 07b49030a2 fix: Display only file logs on the log page. 2025-03-19 16:13:03 +08:00
Dot.L 203c3e4c4b Merge pull request #266 from APIParkLab/feature/1.6-liujian
update tongyi define
2025-03-19 15:36:50 +08:00
Liujian e434c7867f update tongyi define 2025-03-19 15:32:36 +08:00
ningyv f3059f8df8 Merge pull request #264 from APIParkLab/feature/1.6-cx
fix: Header navigation click range issue
2025-03-19 14:18:19 +08:00
ningyv 0b0cd25d2c fix: Header navigation click range issue 2025-03-19 14:17:13 +08:00
5 changed files with 15 additions and 6 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ body:
label: Environment
description: Share your environment details. Reports without proper environment details will likely be closed.
value: |
- APINTO Dashboard version:
- ApiPark version:
- Operating system (run `uname -a`):
validations:
required: true
@@ -31,10 +31,10 @@ provider_credential_schema:
en_US: Enter your API Key
- variable: base_url
label:
en_US: https://api.baichuan-ai.com/v1
en_US: https://dashscope.aliyuncs.com/compatible-mode/v1
type: text-input
required: false
placeholder:
zh_Hans: 在此输入您的 Base URL
en_US: Enter your Base URL
address: https://api.baichuan-ai.com/v1
address: https://dashscope.aliyuncs.com/compatible-mode/v1
+9
View File
@@ -666,6 +666,15 @@ p{
display: none;
}
.apipark-layout-base-menu-horizontal-menu-item {
padding-right: 0px !important;
padding-left: 0px !important;
}
.apipark-layout-base-menu-horizontal-item-title {
padding-left: 16px;
padding-right: 16px;
}
.ant-pro-table-list-toolbar-setting-items{
position:absolute;
top:18px;
@@ -40,7 +40,7 @@ const LogSettings = () => {
const menuData = useMemo(() => {
const newMenu = menuItems?.map((x: DynamicMenuItem) => {
return getItem(
<Link to={`template/${x.name}`}>{$t(x.title)}</Link>,
<Link to={`/logsettings/template/${x.name}`}>{$t(x.title)}</Link>,
x.name,
undefined,
undefined,
+2 -2
View File
@@ -596,9 +596,9 @@ func (i *imlMonitorStatisticModule) TopAPIStatistics(ctx context.Context, limit
} else {
statisticItem.IsRed = true
if key == "-" {
statisticItem.Name = "API"
statisticItem.Name = "Unknown API"
} else {
statisticItem.Name = fmt.Sprintf("未知API-%s", key)
statisticItem.Name = fmt.Sprintf("Unknow-%s", key)
}
}
result = append(result, statisticItem)