fix: template name readonly in editting

This commit is contained in:
jialin
2026-06-17 11:06:39 +08:00
committed by jialin
parent 1d55382f3b
commit 6e1e9c07ee
@@ -1,5 +1,5 @@
import PluginExtraFields from '@/components/plugin-extra-fields';
import { validateLabelNameRegxFor63 } from '@/config';
import { PageAction, validateLabelNameRegxFor63 } from '@/config';
import { PageActionType } from '@/config/types';
import {
Input as CInput,
@@ -86,7 +86,7 @@ const Basic: React.FC<BasicProps> = ({
]}
>
<CInput.Input
disabled={disabled}
disabled={disabled || action === PageAction.EDIT}
label={intl.formatMessage({ id: 'common.table.name' })}
required
/>