diff --git a/package.json b/package.json index 5b55353a..b98dbfc6 100644 --- a/package.json +++ b/package.json @@ -8,9 +8,9 @@ "i": "pnpm install", "dev": "vite --mode base", "ts:check": "vue-tsc --noEmit", - "build:pro": "vite build --mode pro", - "build:dev": "vite build --mode dev", - "build:test": "npm run ts:check && vite build --mode test", + "build:pro": "node --max_old_space_size=8000 ./node_modules/vite/bin/vite.js build --mode pro", + "build:dev": "node --max_old_space_size=8000 ./node_modules/vite/bin/vite.js build --mode dev", + "build:test": "node --max_old_space_size=8000 ./node_modules/vite/bin/vite.js build --mode test", "serve:pro": "vite preview --mode pro", "serve:dev": "vite preview --mode dev", "serve:test": "vite preview --mode test", diff --git a/src/components/XModal/src/XModal.vue b/src/components/XModal/src/XModal.vue index c397edd9..95b9f4be 100644 --- a/src/components/XModal/src/XModal.vue +++ b/src/components/XModal/src/XModal.vue @@ -12,7 +12,9 @@ const props = defineProps({ height: propTypes.string, minWidth: propTypes.string.def('460'), minHeight: propTypes.string.def('320'), - showFooter: propTypes.bool.def(true) + showFooter: propTypes.bool.def(true), + maskClosable: propTypes.bool.def(false), + escClosable: propTypes.bool.def(false) }) const getBindValue = computed(() => { diff --git a/src/components/bpmnProcessDesigner/package/designer/ProcessDesigner.vue b/src/components/bpmnProcessDesigner/package/designer/ProcessDesigner.vue index 1f471f3e..e16857ec 100644 --- a/src/components/bpmnProcessDesigner/package/designer/ProcessDesigner.vue +++ b/src/components/bpmnProcessDesigner/package/designer/ProcessDesigner.vue @@ -190,12 +190,12 @@ -
-            
-            
-            {{ previewResult }}
-            
-        
+
+ + + {{ previewResult }} + +
@@ -331,7 +331,7 @@ const additionalModules = computed(() => { // 插入用户自定义扩展模块 if (Object.prototype.toString.call(props.additionalModel) == '[object Array]') { - Modules.push(...props.additionalModel) + Modules.push(...(props.additionalModel as any[])) } else { props.additionalModel && Modules.push(props.additionalModel) } diff --git a/src/components/bpmnProcessDesigner/package/palette/ProcessPalette.vue b/src/components/bpmnProcessDesigner/package/palette/ProcessPalette.vue index f5272840..38e4ba17 100644 --- a/src/components/bpmnProcessDesigner/package/palette/ProcessPalette.vue +++ b/src/components/bpmnProcessDesigner/package/palette/ProcessPalette.vue @@ -8,9 +8,10 @@