feat: 移除管理台模型配置列表关键信息列

简化界面展示,提升安全性:
- 移除配置列表表格中的关键信息列
- 移除生效配置卡片中的关键信息展示
- 更新规格文档,移除列表页密钥掩码要求
This commit is contained in:
2026-03-30 09:50:21 +08:00
parent 9d30c5e21f
commit a67b0262d4
2 changed files with 4 additions and 10 deletions

View File

@@ -2,7 +2,7 @@ import { useState } from 'react';
import { useNavigate } from 'react-router-dom';
import { FiPlus } from 'react-icons/fi';
import { api } from '../../services/api.js';
import { MODEL_CONFIG_TYPES, getConfigSummary } from '../../data/configTypes.js';
import { MODEL_CONFIG_TYPES } from '../../data/configTypes.js';
import Modal from '../../components/common/Modal.jsx';
function ModelConfigsPage() {
@@ -57,7 +57,6 @@ function ModelConfigsPage() {
<tr>
<th>配置名称</th>
<th>配置类型</th>
<th>关键信息</th>
<th>状态</th>
<th className="col-actions">操作</th>
</tr>
@@ -67,7 +66,6 @@ function ModelConfigsPage() {
<tr key={config.id} className={config.isActive ? 'active-row' : ''}>
<td><strong>{config.name}</strong></td>
<td>{MODEL_CONFIG_TYPES[config.type]?.label || config.type}</td>
<td>{getConfigSummary(config)}</td>
<td>
{config.isActive ? (
<span className="status status-running">生效中</span>