This commit is contained in:
weipengfei 2024-02-27 16:50:33 +08:00
parent ea1bd22908
commit 4b5577585c
4 changed files with 5 additions and 4 deletions

View File

@ -1 +1 @@
VITE_BASE_URL = 'https://ceshi-suyuan-breed.lihaink.cn'
VITE_BASE_URL = 'https://suyuan-breed.lihaink.cn'

BIN
dist.zip Normal file

Binary file not shown.

View File

@ -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);

View File

@ -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
})