92209167 by zhangmeng

看板

1 parent bcc4f6f3
...@@ -25,18 +25,16 @@ import {useRouter} from 'vue-router' ...@@ -25,18 +25,16 @@ import {useRouter} from 'vue-router'
25 25
26 const type = ref('是') 26 const type = ref('是')
27 const url = ref() 27 const url = ref()
28 const obj = ref({ 28 const obj = ref({})
29 IFBASE: "是"
30 })
31 const result = ref() 29 const result = ref()
32 const router = useRouter() 30 const router = useRouter()
33 url.value = 'http://192.168.1.152:8899/login/sid=36487a35-4354-421a-b0d8-4a430f88b7fa#/' 31 // url.value = 'http://192.168.1.152:8899/login/sid=36487a35-4354-421a-b0d8-4a430f88b7fa#/'
34 // url.value = 'http://192.168.1.152:8899/login/sid5342b777-d86a-4967-a18b-7329a3fca56b/' 32 // url.value = 'http://192.168.1.152:8899/login/sid5342b777-d86a-4967-a18b-7329a3fca56b/'
35 // url.value = window.location.href 33 url.value = window.location.href
36 result.value = url.value?.split('=')[1]?.split('#')[0]; 34 result.value = url.value?.split('=')[1]?.split('#')[0];
37 35
38 onMounted(() => { 36 onMounted(() => {
39 // console.log(window.location.href) 37 console.log(url.value)
40 console.log(result.value) 38 console.log(result.value)
41 if (result.value) { 39 if (result.value) {
42 handelGetYS000() 40 handelGetYS000()
...@@ -48,8 +46,8 @@ onMounted(() => { ...@@ -48,8 +46,8 @@ onMounted(() => {
48 46
49 async function handelGetYS000() { 47 async function handelGetYS000() {
50 const res = await getYS000(result.value) 48 const res = await getYS000(result.value)
51 type.value = res.data?.IFBASE || '' 49 type.value = res.data?.IFBASE || ''
52 // obj.value = res.data || {} 50 obj.value = res.data || {}
53 } 51 }
54 52
55 53
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!