This commit is contained in:
parent
ea1bd22908
commit
4b5577585c
|
@ -1 +1 @@
|
|||
VITE_BASE_URL = 'https://ceshi-suyuan-breed.lihaink.cn'
|
||||
VITE_BASE_URL = 'https://suyuan-breed.lihaink.cn'
|
|
@ -40,7 +40,8 @@ const back = ()=>{
|
|||
}
|
||||
|
||||
// 获取 URL 中的查询参数部分
|
||||
const queryString = window.location.search;
|
||||
// const queryString = window.location.search;
|
||||
const queryString = window.location.hash.split("?")[1];
|
||||
|
||||
// 解析查询参数字符串
|
||||
const searchParams = new URLSearchParams(queryString);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { createRouter, createWebHistory } from "vue-router"
|
||||
import { createRouter, createWebHashHistory } from "vue-router"
|
||||
|
||||
const routes = [
|
||||
{
|
||||
|
@ -31,7 +31,7 @@ const routes = [
|
|||
]
|
||||
|
||||
const router = createRouter({
|
||||
history: createWebHistory('/'),
|
||||
history: createWebHashHistory(),
|
||||
routes
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in New Issue