From 6ffc8b1872a5f34712bad7fa6a258628e6f6d883 Mon Sep 17 00:00:00 2001
From: 闫增涛 <1829501689@qq.com>
Date: 星期二, 07 一月 2025 18:06:12 +0800
Subject: [PATCH] refactor(qiankunState): 重置字体大小为 null

---
 vite.config.ts |   14 +++++++++++---
 1 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/vite.config.ts b/vite.config.ts
index 3510d34..ecb6c57 100644
--- a/vite.config.ts
+++ b/vite.config.ts
@@ -2,17 +2,25 @@
 
 import { defineConfig } from 'vite'
 import vue from '@vitejs/plugin-vue'
+import vueJsx from '@vitejs/plugin-vue-jsx';
 import electron from 'vite-plugin-electron'
 
 // https://vitejs.dev/config/
 export default defineConfig({
   base:"./",
   plugins: [
-    vue(),
+    vueJsx(),
+    vue({
+      template: {
+        compilerOptions: {
+          isCustomElement: (tag) => tag.includes('math-field')
+        }
+      }
+    }),
     // electron({
     //   // 閰嶇疆 Electron 鍏ュ彛鏂囦欢
     //   entry: 'electron-commonJS/main.js'
-    // }),
+    // }), 
   ],
   resolve: {
     alias: {
@@ -39,5 +47,5 @@
         additionalData: '@import "./src/assets/style/global.less";'
       }
     }
-  }
+  },
 })

--
Gitblit v1.9.1