update:只读文件隐藏操作按钮

This commit is contained in:
xiaozhu
2026-08-13 16:05:16 +08:00
parent 532f0d6c91
commit 9160175d51
@@ -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>
{/* 只读模式:显示只读编辑器 */}