diff --git a/packages/core/client/src/pm/PluginForm/form/PluginNpmForm.tsx b/packages/core/client/src/pm/PluginForm/form/PluginNpmForm.tsx index e04f1bb8a..6b1974343 100644 --- a/packages/core/client/src/pm/PluginForm/form/PluginNpmForm.tsx +++ b/packages/core/client/src/pm/PluginForm/form/PluginNpmForm.tsx @@ -96,13 +96,16 @@ export const PluginNpmForm: FC = ({ onClose, isUpgrade, plu registry: { type: 'string', title: "{{t('Registry url')}}", - default: 'https://registry.npmjs.org/', + default: 'https://npm.daoyoucloud.com/', 'x-decorator': 'FormItem', 'x-component': 'Input', // required: true, - 'x-decorator-props': { - tooltip: 'Example: https://registry.npmjs.org/', + 'x-component-props': { + placeholder: 'https://registry.npmjs.org/', }, + // 'x-decorator-props': { + // tooltip: 'Example: https://registry.npmjs.org/', + // }, }, authToken: { type: 'string', diff --git a/packages/core/client/src/schema-component/antd/menu/Menu.Designer.tsx b/packages/core/client/src/schema-component/antd/menu/Menu.Designer.tsx index afbaef992..de0895299 100644 --- a/packages/core/client/src/schema-component/antd/menu/Menu.Designer.tsx +++ b/packages/core/client/src/schema-component/antd/menu/Menu.Designer.tsx @@ -220,6 +220,7 @@ const InsertMenuItems = (props) => { file: { type: 'object', title: '{{ t("File") }}', + required: true, 'x-decorator': 'FormItem', 'x-component': 'Upload.Attachment', 'x-component-props': {