Commit d0f96c5b authored by 王晓旭's avatar 王晓旭

98修改测试

parent 38900f5b
......@@ -276,15 +276,18 @@ export default {
methods: {
// 获取楼层数据
getLCData(){
axios({
method: 'get',
url: "/module/3Ddt/lc.json",
headers: {
'Content-Type': 'application/json'
},
}).then(
// axios({
// method: 'get',
// url: "/module/3Ddt/lc.json",
// headers: {
// 'Content-Type': 'application/json'
// },
// }
this.$get("/module/3Ddt/lc.json"
).then(
(res)=>{
this.floorArr = res.floorArr
console.log('resres',res);
}
)
},
......
......@@ -27,13 +27,13 @@ module.exports = {
//target: 'http://127.0.0.1:18222',
changeOrigin: true,
},
"/module": {
target: "http://192.168.0.98:11091",
changeOrigin: true,
// pathRewrite:{
// '^/dd': ''
// }
},
// "/module": {
// target: "http://192.168.0.98:11091",
// changeOrigin: true,
// // pathRewrite:{
// // '^/dd': ''
// // }
// },
},
},
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment