소스 검색

update 新增预编译和翻译

LiuHao 1 년 전
부모
커밋
a9cd5684b2
2개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      src/components/BpmnDesign/assets/lang/zh.ts
  2. 1 0
      vite.config.ts

+ 2 - 0
src/components/BpmnDesign/assets/lang/zh.ts

@@ -62,6 +62,8 @@ export default {
   'Event-based gateway': '事件网关',
   'Exclusive gateway': '互斥网关',
   'Empty pool/participant (removes content)': '清空池/参与者 (删除内容)',
+  'Empty pool/participant': '清空池/参与者',
+  'Expanded pool/participant': '展开池/参与者',
   'Inclusive gateway': '相容网关',
   'Intermediate throw event': '中间抛出事件',
   'Loop': '循环',

+ 1 - 0
vite.config.ts

@@ -76,6 +76,7 @@ export default defineConfig(({ mode, command }: ConfigEnv): UserConfig => {
         'diagram-js/lib/draw/BaseRenderer',
         'tiny-svg',
 
+        'element-plus/es/components/text/style/css',
         'element-plus/es/components/collapse-item/style/css',
         'element-plus/es/components/collapse/style/css',
         'element-plus/es/components/space/style/css',