update:只读文件隐藏操作按钮
This commit is contained in:
@@ -421,6 +421,7 @@ export function ScriptWorkspace({
|
||||
<Icon name="chevron" size={13} />
|
||||
<strong>{script.script_name}</strong>
|
||||
</div>
|
||||
{!isReadOnlyMode && (
|
||||
<div className="editor-toolbar__actions">
|
||||
{isPythonEditing ? (
|
||||
<>
|
||||
@@ -474,6 +475,7 @@ export function ScriptWorkspace({
|
||||
}
|
||||
</span>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
|
||||
{/* 只读模式:显示只读编辑器 */}
|
||||
|
||||
Reference in New Issue
Block a user