From 0db8c9b94a9ac655549d5eba5c2a6c92ac386c06 Mon Sep 17 00:00:00 2001
From: puzhibing <393733352@qq.com>
Date: 星期四, 08 十月 2026 11:20:56 +0800
Subject: [PATCH] 提交最新代码

---
 laboratory/vue.config.js |   95 ++++++++++++++++++++++++-----------------------
 1 files changed, 48 insertions(+), 47 deletions(-)

diff --git a/laboratory/vue.config.js b/laboratory/vue.config.js
index 6f51fbe..329008e 100644
--- a/laboratory/vue.config.js
+++ b/laboratory/vue.config.js
@@ -1,53 +1,54 @@
-const path = require('path')
+const path = require("path");
 function resolve(dir) {
-    return path.join(__dirname, dir)
+  return path.join(__dirname, dir);
 }
 module.exports = {
-    outputDir: 'laboratory', // 配置打包后的文件夹名称
-    lintOnSave: false,
-    publicPath: '/',
-    devServer: {
-        disableHostCheck: true, //禁用主机检查 
-        proxy: {
-            "/api": { // 设置以什么前缀开头的请求用来代理
-                target: "http://192.168.110.34:8081", //要访问的跨域的域名
-                secure: false, // 使用的是http协议则设置为false,https协议则设置为true
-                changOrigin: true, //开启代理
-                pathRewrite: {
-                    "^/api": "/api",
-                },
-            },
-            "/": { // 设置以什么前缀开头的请求用来代理
-                target: "http://192.168.110.34:8081", //要访问的跨域的域名
-                secure: false, // 使用的是http协议则设置为false,https协议则设置为true
-                changOrigin: true, //开启代理
-                pathRewrite: {
-                    "^/": "/",
-                },
-            },
+  outputDir: "laboratory", // 配置打包后的文件夹名称
+  lintOnSave: false,
+  publicPath: "/",
+  devServer: {
+    disableHostCheck: true, //禁用主机检查
+    proxy: {
+      "/": {
+        // 设置以什么前缀开头的请求用来代理
+        target: "http://192.168.1.2:11221", //要访问的跨域的域名
+        secure: false, // 使用的是http协议则设置为false,https协议则设置为true
+        changeOrigin: true, //开启代理
+        pathRewrite: {
+          "^/": "/",
         },
+      },
+      "/": { // 设置以什么前缀开头的请求用来代理
+          target: "http://192.168.1.2:11221", //要访问的跨域的域名
+          secure: false, // 使用的是http协议则设置为false,https协议则设置为true
+          changeOrigin: true, //开启代理
+          pathRewrite: {
+              "^/": "/",
+          },
+      },
     },
-    configureWebpack: {
-        resolve: {
-            alias: {
-                '@': resolve('src'),
-            }
+  },
+  configureWebpack: {
+    resolve: {
+      alias: {
+        "@": resolve("src"),
+      },
+    },
+    module: {
+      rules: [
+        {
+          test: /\.m?js$/,
+          include: /node_modules/,
+          type: "javascript/auto",
+          use: {
+            loader: "babel-loader",
+            options: {
+              presets: ["@babel/preset-env"],
+              plugins: ["@babel/plugin-proposal-nullish-coalescing-operator"],
+            },
+          },
         },
-        module: {
-            rules: [
-                {
-                    test: /\.m?js$/,
-                    include: /node_modules/,
-                    type: "javascript/auto",
-                    use: {
-                        loader: 'babel-loader',
-                        options: {
-                            presets: ['@babel/preset-env'],
-                            plugins: ['@babel/plugin-proposal-nullish-coalescing-operator']
-                        }
-                    }
-                }
-            ]
-        }
-    }
-};
\ No newline at end of file
+      ],
+    },
+  },
+};

--
Gitblit v1.7.1