fix(share)

This commit is contained in:
wang_yp 2025-07-09 14:55:36 +08:00
parent 604cb87c53
commit 4e5deeb177
3 changed files with 4 additions and 2 deletions

View File

@ -95,7 +95,6 @@
"build": "node scripts/build.js",
"test": "node scripts/test.js"
},
"proxy": "http://127.0.0.1:12216/v1",
"eslintConfig": {
"extends": [
"react-app",

View File

@ -59,6 +59,9 @@ const LayOut = (props: Store) => {
const [stateOpenKeys, setStateOpenKeys] = useState(['2', '23']);
useEffect(() => {
const uData = window.localStorage.getItem("user") ?? '';
if (uData === "" || uData === null) {
return
}
setUname(JSON.parse(uData).user.user_name)
usrStore.getMenu().then((res) => {
const men: any = [];

View File

@ -1,4 +1,4 @@
class Config {
static baseUrl = "/";
static baseUrl = "https://hj.quwanya.cn/v1"
}
export default Config;