diff --git a/dolphinscheduler-ui-next/src/views/resource/file/edit/index.tsx b/dolphinscheduler-ui-next/src/views/resource/file/edit/index.tsx
index 96466448a3..9845bdbff4 100644
--- a/dolphinscheduler-ui-next/src/views/resource/file/edit/index.tsx
+++ b/dolphinscheduler-ui-next/src/views/resource/file/edit/index.tsx
@@ -73,22 +73,23 @@ export default defineComponent({
rules={this.rules}
ref='fileFormRef'
class={styles['form-content']}
+ disabled={this.componentName !== 'resource-file-edit'}
>
- {this.componentName === 'resource-file-edit' && (
-
-
- {t('resource.file.return')}
-
+
+
+ {t('resource.file.return')}
+
+ {this.componentName === 'resource-file-edit' && (
{t('resource.file.save')}
-
- )}
+ )}
+