zhanghua
2025-06-13 21c9c72db79cd1cc450d7dfb668cbab43befa991
vue.config.js
@@ -6,7 +6,7 @@
  return path.join(__dirname, dir);
}
const name = defaultSettings.title || "vue Admin Template"; // page title
const name = defaultSettings.title || "叮当微教务"; // page title
// If your port is set to 80,
// use administrator privileges to execute the command line.
@@ -39,7 +39,7 @@
    proxy: {
      [process.env.VUE_APP_BASE_API]: {
        // 匹配所有以 '/dev-api'开头的请求路径
        target: "http://192.168.3.88:18080/dream_test", //类似于Nginx反向代理
        target: "http://192.168.0.21:18081/dream", //类似于Nginx反向代理
        changeOrigin: true, // 支持跨域
        pathRewrite: {
          // 重写路径: 去掉路径中开头的'/dev-api'