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

xiugai

parent d0f96c5b
......@@ -276,15 +276,13 @@ export default {
methods: {
// 获取楼层数据
getLCData(){
// axios({
// method: 'get',
// url: "/module/3Ddt/lc.json",
// headers: {
// 'Content-Type': 'application/json'
// },
// }
this.$get("/module/3Ddt/lc.json"
).then(
axios({
method: 'get',
url: "/module/3Ddt/lc.json",
headers: {
'Content-Type': 'application/json'
},
}).then(
(res)=>{
this.floorArr = res.floorArr
console.log('resres',res);
......
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