看版
Showing
2 changed files
with
6 additions
and
4 deletions
| ... | @@ -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 | }; | ... | ... |
-
Please register or sign in to post a comment