fix: build error

This commit is contained in:
sealday 2024-03-29 01:47:57 +08:00
parent 09aae19848
commit 86fee92f72
2 changed files with 3 additions and 2 deletions

View File

@ -3,7 +3,7 @@
"version": "1.7.0", "version": "1.7.0",
"main": "dist/server/index.js", "main": "dist/server/index.js",
"displayName": "professional construction materials rental system - customized based on hera", "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": "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": "提供标准化的租赁管理系统,包括从物料到合同再到劳务人员的全面管理,同时提供健全的财务管理机制,以及实时监控租赁体系的运作能力。", "description.zh-CN": "提供标准化的租赁管理系统,包括从物料到合同再到劳务人员的全面管理,同时提供健全的财务管理机制,以及实时监控租赁体系的运作能力。",
"devDependencies": { "devDependencies": {
@ -20,6 +20,7 @@
}, },
"peerDependencies": { "peerDependencies": {
"@hera/plugin-core": "1.x", "@hera/plugin-core": "1.x",
"@nocobase/plugin-data-visualizatio": "0.x",
"@nocobase/client": "0.x", "@nocobase/client": "0.x",
"@nocobase/server": "0.x", "@nocobase/server": "0.x",
"@nocobase/test": "0.x" "@nocobase/test": "0.x"

View File

@ -55,7 +55,7 @@ export const getOptionsSchema = () => {
return options; return options;
}; };
export const getPropsSchemaByComponent = (component: string, allCollection) => { export const getPropsSchemaByComponent = (component: string, allCollection?) => {
const showTime = { const showTime = {
type: 'boolean', type: 'boolean',
'x-content': '{{ t("Show time") }}', 'x-content': '{{ t("Show time") }}',