刘翔宇-旅管家 3 years ago
parent ba1bb91ca3
commit 0e8e1038b8

@ -9,7 +9,7 @@
label-position="left">
<div class="title-container">
<h3 class="title">朗业前端初始化界面</h3>
<h3 class="title">孕育邦</h3>
</div>
<el-form-item prop="username">

@ -6,14 +6,14 @@ function resolve(dir) {
return path.join(__dirname, dir)
}
const name = defaultSettings.title || '朗业初始化项目' // page title
const name = defaultSettings.title || '孕育邦' // page title
// If your port is set to 80,
// use administrator privileges to execute the command line.
// For example, Mac: sudo npm run
// You can change the port by the following methods:
// port = 9528 npm run dev OR npm run dev --port = 9528
const port = process.env.port || process.env.npm_config_port || 8001 // dev port
const port = process.env.port || process.env.npm_config_port || 8012 // dev port
// All configuration item explanations can be find in https://cli.vuejs.org/config/
module.exports = {
@ -46,7 +46,7 @@ module.exports = {
//before: require('./mock/mock-server.js'),
proxy: {
[process.env.VUE_APP_BASE_API]: {
target: 'http://118.31.104.155:8082/',
target: 'http://yunyubang.ali251.langye.net/',
changeOrigin: true, //配置跨域
pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: ''

Loading…
Cancel
Save