From 40a8157440e3b906da8f52e07d939d78c3f4c313 Mon Sep 17 00:00:00 2001
From: wlzboy <66905212@qq.com>
Date: 星期日, 12 四月 2026 16:14:06 +0800
Subject: [PATCH] feat: 任务增加统计、同步增加通知

---
 ruoyi-ui/vue.config.js |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/ruoyi-ui/vue.config.js b/ruoyi-ui/vue.config.js
index a74ca00..00a4808 100644
--- a/ruoyi-ui/vue.config.js
+++ b/ruoyi-ui/vue.config.js
@@ -11,7 +11,7 @@
 
 const baseUrl = 'http://localhost:8080' // 鍚庣鎺ュ彛
 
-const port = process.env.port || process.env.npm_config_port || 80 // 绔彛
+const port = process.env.port || process.env.npm_config_port || 8086 // 绔彛
 
 // vue.config.js 閰嶇疆璇存槑
 //瀹樻柟vue.config.js 鍙傝�冩枃妗� https://cli.vuejs.org/zh/config/#css-loaderoptions
@@ -35,6 +35,7 @@
     host: '0.0.0.0',
     port: port,
     open: true,
+    historyApiFallback: true, // history妯″紡鏀寔
     proxy: {
       // detail: https://cli.vuejs.org/config/#devserver-proxy
       [process.env.VUE_APP_BASE_API]: {
@@ -82,6 +83,14 @@
     config.plugins.delete('preload') // TODO: need test
     config.plugins.delete('prefetch') // TODO: need test
 
+    // 鎺掗櫎.md鏂囦欢鐨勭紪璇�
+    config.module
+      .rule('md')
+      .test(/\.md$/)
+      .use('ignore-loader')
+      .loader('ignore-loader')
+      .end()
+
     // set svg-sprite-loader
     config.module
       .rule('svg')

--
Gitblit v1.9.1