diff --git a/frontend/app/features/platform/ScriptWorkspace.tsx b/frontend/app/features/platform/ScriptWorkspace.tsx
index 7ab9455..0ed18fe 100644
--- a/frontend/app/features/platform/ScriptWorkspace.tsx
+++ b/frontend/app/features/platform/ScriptWorkspace.tsx
@@ -421,59 +421,61 @@ export function ScriptWorkspace({
{script.script_name}
-
- {isPythonEditing ? (
- <>
- {showSaveButton && (
-
- )}
-
- >
- ) : isEditing ? (
+ {!isReadOnlyMode && (
+
+ {isPythonEditing ? (
+ <>
+ {showSaveButton && (
+
+ )}
+
+ >
+ ) : isEditing ? (
+
+ ) : (
+
+ )}
- ) : (
-
- )}
-
-
-
- {
- latestVersion
- ? `最新 ${latestVersion.version_label}`
- : "工作副本已就绪"
- }
-
-
+
+
+ {
+ latestVersion
+ ? `最新 ${latestVersion.version_label}`
+ : "工作副本已就绪"
+ }
+
+
+ )}
{/* 只读模式:显示只读编辑器 */}