src/main.js
@@ -10,6 +10,7 @@ import axios from 'axios' import api from './assets/api/controller.js' import swal from 'sweetalert' import print from './components/view/report/print' Vue.prototype.LOCATIONVUE = "http://127.0.0.1:80/"; //前端本地端口 Vue.prototype.HaveJson = (val) => { @@ -23,10 +24,9 @@ Vue.use(qs); Vue.use(api); const javaApi = 'http://192.168.0.23:8001' // localhost 127.0.0.1 // const javaApi = 'http://192.168.14.249:8001' // const javaApi = 'http://127.0.0.1:8001/' const javaApi = 'http://127.0.0.1:8001/'