用户登录测试基本完成

This commit is contained in:
2023-06-29 23:26:05 +08:00
parent b3bdb8afba
commit efb698a282
9 changed files with 200 additions and 114 deletions

View File

@@ -1,5 +1,25 @@
const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
transpileDependencies: true,
lintOnSave: false
})
require('@vue/cli-service')
// module.exports = defineConfig({
// transpileDependencies: true,
// lintOnSave: false
// })
module.exports = {
// 关闭语法检查
lintOnSave:false,
devServer: {
host: 'localhost', // 本地域名/ip地址
port: '8080', // 端口号
proxy: {
'/api': {
//后端接口的baseurl
target: 'http://localhost/helloGithub_war_exploded/',
//是否允许跨域
changeOrigin: true,
pathRewrite: {
//这里的作用是使用去掉api
'^/api': ''
}
}
}
}
}