From d5a6b28258858c9359ee81a235030100f25e6a4c Mon Sep 17 00:00:00 2001 From: whycq <whycq> Date: 星期二, 15 二月 2022 15:47:27 +0800 Subject: [PATCH] ### --- main.js | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/main.js b/main.js index 5013c55..1edcda3 100644 --- a/main.js +++ b/main.js @@ -3,7 +3,9 @@ // #ifndef VUE3 import Vue from 'vue' // Vue.prototype.baseUrl = "http://localhost:8081/acs" -Vue.prototype.baseUrl = "http://localhost:8082/xgmwms" +Vue.prototype.baseIP = '192.168.4.138' +const baseIP = Vue.prototype.baseIP +Vue.prototype.baseUrl = 'http://' + baseIP + ':8082/xgmwms' Vue.config.productionTip = false App.mpType = 'app' const app = new Vue({ -- Gitblit v1.9.1