fix(annotation): 更新受限模式下的修改权限提示

- 在受限模式提示中添加来源名称可修改的说明
- 移除控件ID输入框的禁用状态以支持来源名称修改
- 更新编辑模式下的权限描述文本
This commit is contained in:
2026-01-22 21:12:47 +08:00
parent 9eafdc86bb
commit d22d677efe
2 changed files with 3 additions and 3 deletions

View File

@@ -672,7 +672,7 @@ export default function CreateAnnotationTask({
// 编辑模式:只允许修改标签取值 // 编辑模式:只允许修改标签取值
<div className="bg-gray-50 p-4 rounded-md border border-gray-200"> <div className="bg-gray-50 p-4 rounded-md border border-gray-200">
<div className="text-sm text-gray-500 mb-3 bg-blue-50 p-2 rounded border border-blue-200"> <div className="text-sm text-gray-500 mb-3 bg-blue-50 p-2 rounded border border-blue-200">
/ /
</div> </div>
<div style={{ maxHeight: '350px', overflowY: 'auto' }}> <div style={{ maxHeight: '350px', overflowY: 'auto' }}>
<TemplateConfigurationForm <TemplateConfigurationForm

View File

@@ -113,7 +113,7 @@ const TemplateConfigurationForm: React.FC<TemplateConfigurationFormProps> = ({
{restrictedMode && ( {restrictedMode && (
<Text type="secondary" style={{ fontSize: 12, marginLeft: 8 }}> <Text type="secondary" style={{ fontSize: 12, marginLeft: 8 }}>
/ /
</Text> </Text>
)} )}
</Divider> </Divider>
@@ -190,7 +190,7 @@ const TemplateConfigurationForm: React.FC<TemplateConfigurationFormProps> = ({
style={{ marginBottom: 0 }} style={{ marginBottom: 0 }}
tooltip="此控件的唯一标识符" tooltip="此控件的唯一标识符"
> >
<Input placeholder="例如:choice" disabled={restrictedMode} /> <Input placeholder="例如:choice" />
</Form.Item> </Form.Item>
<Form.Item <Form.Item