管理员即可展示API调试界面,移除DEV模式限制

This commit is contained in:
yml2213
2026-07-30 20:15:40 +08:00
parent 5858ff59ae
commit 5f409b397c
2 changed files with 2 additions and 15 deletions
+1 -10
View File
@@ -239,16 +239,7 @@ export default function ApiDebugger() {
</Title>
<Paragraph type="secondary">
API AppKey Secret使 Web Crypto API
</Paragraph>
{!import.meta.env.DEV && (
<Alert
type="warning"
showIcon
message="当前为生产构建,调试工具仅开发模式可用。"
style={{ marginBottom: 16 }}
/>
)}
</Paragraph>
<Card
title="凭证"