92209167 by zhangmeng

看板

1 parent bcc4f6f3
......@@ -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 || {}
}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!