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

98修改测试

parent 38900f5b
...@@ -276,15 +276,18 @@ export default { ...@@ -276,15 +276,18 @@ export default {
methods: { methods: {
// 获取楼层数据 // 获取楼层数据
getLCData(){ getLCData(){
axios({ // axios({
method: 'get', // method: 'get',
url: "/module/3Ddt/lc.json", // url: "/module/3Ddt/lc.json",
headers: { // headers: {
'Content-Type': 'application/json' // 'Content-Type': 'application/json'
}, // },
}).then( // }
this.$get("/module/3Ddt/lc.json"
).then(
(res)=>{ (res)=>{
this.floorArr = res.floorArr this.floorArr = res.floorArr
console.log('resres',res);
} }
) )
}, },
......
...@@ -27,13 +27,13 @@ module.exports = { ...@@ -27,13 +27,13 @@ module.exports = {
//target: 'http://127.0.0.1:18222', //target: 'http://127.0.0.1:18222',
changeOrigin: true, changeOrigin: true,
}, },
"/module": { // "/module": {
target: "http://192.168.0.98:11091", // target: "http://192.168.0.98:11091",
changeOrigin: true, // changeOrigin: true,
// pathRewrite:{ // // pathRewrite:{
// '^/dd': '' // // '^/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