From 18e4df43f79f51539474b2918544a9d2d4c5c4e0 Mon Sep 17 00:00:00 2001
From: wangfei <3597712270@qq.com>
Date: 星期三, 13 十一月 2024 15:43:52 +0800
Subject: [PATCH] 前端页面适配

---
 UI-Project/vue.config.js |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/UI-Project/vue.config.js b/UI-Project/vue.config.js
index 1b2c99f..3881acf 100644
--- a/UI-Project/vue.config.js
+++ b/UI-Project/vue.config.js
@@ -2,4 +2,16 @@
     assetsDir: 'static',
     parallel: false,
     publicPath: './',
+    presets: [
+        // '@vue/cli-plugin-babel/preset', 
+        '@vue/app',
+        [
+            '@babel/preset-env',
+            {
+                useBuiltIns: 'entry'
+            }
+        ]
+    ],
+    sourceType: 'unambiguous',
+
 };
\ No newline at end of file

--
Gitblit v1.8.0