fix(share)
This commit is contained in:
parent
604cb87c53
commit
4e5deeb177
|
@ -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",
|
||||
|
|
|
@ -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 = [];
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
class Config {
|
||||
static baseUrl = "/";
|
||||
static baseUrl = "https://hj.quwanya.cn/v1"
|
||||
}
|
||||
export default Config;
|
||||
|
|
Loading…
Reference in New Issue