修改打包配置

This commit is contained in:
BianLzhaoMin 2024-08-16 11:02:14 +08:00
parent dfdcb2783c
commit bf02b11f33
2 changed files with 9 additions and 7 deletions

View File

@ -14,11 +14,13 @@ export default {
}, },
created() { created() {
const origin = window.location.origin const origin = window.location.origin
if (origin == 'http://192.168.8.163:21624') {
this.jumpUrl = origin this.jumpUrl = origin
} else { // if (origin == 'http://192.168.0.62:21624') {
this.jumpUrl = 'http://192.168.0.14:18866' // this.jumpUrl = origin
} // } else {
// this.jumpUrl = 'http://192.168.0.14:18866'
// }
this.openNewWindow() this.openNewWindow()
this.$tab.closePage().then(() => {}) this.$tab.closePage().then(() => {})
}, },

View File

@ -44,9 +44,9 @@ module.exports = {
// target: `http://192.168.2.151:48080`, //超 // target: `http://192.168.2.151:48080`, //超
// target: `http://10.40.92.81:8080`, //韩/ // target: `http://10.40.92.81:8080`, //韩/
// target: `http://192.168.2.81:28080`,//旭/ target: `http://192.168.2.77:49080`,//旭/
// target: `http://192.168.2.248:28080`, //帅 // target: `http://192.168.2.248:28080`, //帅
target: `http://192.168.2.216:49080`, //福 // target: `http://192.168.2.216:49080`, //福
//******** 注意事项 ********* */ //******** 注意事项 ********* */
//1.全局替换qrUrl二维码扫码提供的网址-发布服务器的地址target; //1.全局替换qrUrl二维码扫码提供的网址-发布服务器的地址target;