代码修改

This commit is contained in:
18538855543
2023-10-11 14:58:14 +08:00
parent 4e9eb6f83e
commit 2979e07607
52 changed files with 21955 additions and 0 deletions

20
vue/vue.config.js Normal file
View File

@@ -0,0 +1,20 @@
const { defineConfig } = require("@vue/cli-service");
module.exports = defineConfig({
transpileDependencies: true,
});
const port=1573;
module.exports = {
devServer: {
port:port,
proxy: {
'/api': {
target: 'http://localhost:10002', // 后端接口的地址
changeOrigin: true,
pathRewrite: {
'^/api': '', // 如果您的后端API路径不包含'/api',可以删除这一行
},
},
},
},
};