diff --git a/packages/plugins/@hera/plugin-rental/package.json b/packages/plugins/@hera/plugin-rental/package.json index 139f69372..ccd8ba203 100644 --- a/packages/plugins/@hera/plugin-rental/package.json +++ b/packages/plugins/@hera/plugin-rental/package.json @@ -3,7 +3,7 @@ "version": "1.7.0", "main": "dist/server/index.js", "displayName": "professional construction materials rental system - customized based on hera", - "displayName.zh-CN": "专业建材租赁系统 - 基于赫拉定制", + "displayName.zh-CN": "创兴管理系统", "description": "Offering a standardized leasing management system, encompassing comprehensive administration from materials to contracts to labor personnel, while providing a robust financial management mechanism, and real-time monitoring of the operational capacity of the leasing system.", "description.zh-CN": "提供标准化的租赁管理系统,包括从物料到合同再到劳务人员的全面管理,同时提供健全的财务管理机制,以及实时监控租赁体系的运作能力。", "devDependencies": { @@ -20,6 +20,7 @@ }, "peerDependencies": { "@hera/plugin-core": "1.x", + "@nocobase/plugin-data-visualizatio": "0.x", "@nocobase/client": "0.x", "@nocobase/server": "0.x", "@nocobase/test": "0.x" diff --git a/packages/plugins/@nocobase/plugin-data-visualization/src/client/filter/utils.ts b/packages/plugins/@nocobase/plugin-data-visualization/src/client/filter/utils.ts index 37a0288eb..865ceda25 100644 --- a/packages/plugins/@nocobase/plugin-data-visualization/src/client/filter/utils.ts +++ b/packages/plugins/@nocobase/plugin-data-visualization/src/client/filter/utils.ts @@ -55,7 +55,7 @@ export const getOptionsSchema = () => { return options; }; -export const getPropsSchemaByComponent = (component: string, allCollection) => { +export const getPropsSchemaByComponent = (component: string, allCollection?) => { const showTime = { type: 'boolean', 'x-content': '{{ t("Show time") }}',