From 3f363f67b8769faeec429ddb43eb7a6cc9133761 Mon Sep 17 00:00:00 2001 From: Rain <958414905@qq.com> Date: Fri, 13 Oct 2023 15:38:34 +0800 Subject: [PATCH] chore: don't disable the variable option yet --- .../schema-settings/VariableInput/hooks/useBaseVariable.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/core/client/src/schema-settings/VariableInput/hooks/useBaseVariable.tsx b/packages/core/client/src/schema-settings/VariableInput/hooks/useBaseVariable.tsx index 1a321f643..7a5c78df8 100644 --- a/packages/core/client/src/schema-settings/VariableInput/hooks/useBaseVariable.tsx +++ b/packages/core/client/src/schema-settings/VariableInput/hooks/useBaseVariable.tsx @@ -131,7 +131,8 @@ export const useBaseVariable = ({ name, title, collectionName, - noDisabled, + // TODO: 等整理完完整测试用例后,再开启该功能 + noDisabled = true, returnFields = (fields) => fields, }: BaseProps) => { const compile = useCompile();