Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
杨炀
/
dangan_dataV
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
92209167
authored
2025-04-30 13:31:01 +0800
by
zhangmeng
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
看板
1 parent
bcc4f6f3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
8 deletions
src/viewsPc/home.vue
src/viewsPc/home.vue
View file @
9220916
...
...
@@ -25,18 +25,16 @@ import {useRouter} from 'vue-router'
const
type
=
ref
(
'是'
)
const
url
=
ref
()
const
obj
=
ref
({
IFBASE
:
"是"
})
const
obj
=
ref
({})
const
result
=
ref
()
const
router
=
useRouter
()
url
.
value
=
'http://192.168.1.152:8899/login/sid=36487a35-4354-421a-b0d8-4a430f88b7fa#/'
//
url.value = 'http://192.168.1.152:8899/login/sid=36487a35-4354-421a-b0d8-4a430f88b7fa#/'
// url.value = 'http://192.168.1.152:8899/login/sid5342b777-d86a-4967-a18b-7329a3fca56b/'
//
url.value = window.location.href
url
.
value
=
window
.
location
.
href
result
.
value
=
url
.
value
?.
split
(
'='
)[
1
]?.
split
(
'#'
)[
0
];
onMounted
(()
=>
{
// console.log(window.location.href
)
console
.
log
(
url
.
value
)
console
.
log
(
result
.
value
)
if
(
result
.
value
)
{
handelGetYS000
()
...
...
@@ -48,8 +46,8 @@ onMounted(() => {
async
function
handelGetYS000
()
{
const
res
=
await
getYS000
(
result
.
value
)
type
.
value
=
res
.
data
?.
IFBASE
||
'
否
'
//
obj.value = res.data || {}
type
.
value
=
res
.
data
?.
IFBASE
||
'
是
'
obj
.
value
=
res
.
data
||
{}
}
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment