Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
device-manager-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
device-manager-ui
Commits
d0f96c5b
Commit
d0f96c5b
authored
Mar 01, 2024
by
王晓旭
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
98修改测试
parent
38900f5b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
14 deletions
+17
-14
src/views/analysis/Analysis.vue
src/views/analysis/Analysis.vue
+10
-7
vue.config.js
vue.config.js
+7
-7
No files found.
src/views/analysis/Analysis.vue
View file @
d0f96c5b
...
@@ -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
);
}
}
)
)
},
},
...
...
vue.config.js
View file @
d0f96c5b
...
@@ -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': ''
// }
//
// }
},
//
},
},
},
},
},
};
};
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment