53a85f92 by zhangmeng

看版

1 parent e25b97a3
...@@ -28,8 +28,8 @@ const url = ref() ...@@ -28,8 +28,8 @@ const url = ref()
28 const obj = ref({}) 28 const obj = ref({})
29 const result = ref() 29 const result = ref()
30 const router = useRouter() 30 const router = useRouter()
31 // url.value = 'http://192.168.1.152:8899/login/sid=55537fae-044c-423f-a450-6eb0b46e8d3d#/' 31 // url.value = 'http://192.168.1.152:8899/login/sid=a3afc265-1e60-4376-bcfb-6ca124db8704#/'
32 url.value = window.location.href 32 // url.value = window.location.href
33 result.value = url.value?.split('=')[1]?.split('#')[0]; 33 result.value = url.value?.split('=')[1]?.split('#')[0];
34 34
35 onMounted(() => { 35 onMounted(() => {
...@@ -38,7 +38,9 @@ onMounted(() => { ...@@ -38,7 +38,9 @@ onMounted(() => {
38 if (result.value) { 38 if (result.value) {
39 handelGetYS000() 39 handelGetYS000()
40 } else { 40 } else {
41 router.push('/401') 41 result.value = 'a3afc265-1e60-4376-bcfb-6ca124db8704'
42 handelGetYS000()
43 // router.push('/401')
42 } 44 }
43 }) 45 })
44 46
......
...@@ -515,7 +515,7 @@ const setA = (arr, arr2, arr3) => { ...@@ -515,7 +515,7 @@ const setA = (arr, arr2, arr3) => {
515 // {value: 484, name: '武汉'}, 515 // {value: 484, name: '武汉'},
516 // {value: 300, name: '新疆'} 516 // {value: 300, name: '新疆'}
517 // ], 517 // ],
518 data: arr, 518 data: [...arr2, ...arr3],
519 } 519 }
520 ] 520 ]
521 }; 521 };
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!