|
|
|
@ -8,6 +8,7 @@ import "antd/dist/reset.css";
|
|
|
|
|
import AppLogo from "@/assets/logo-gh.png";
|
|
|
|
|
import { isEmpty } from "@/utils/commons";
|
|
|
|
|
import { useStore } from "@/stores/StoreContext.js";
|
|
|
|
|
import * as config from "@/config";
|
|
|
|
|
|
|
|
|
|
const { Header, Content, Footer } = Layout;
|
|
|
|
|
const { Title } = Typography;
|
|
|
|
@ -70,7 +71,7 @@ function App() {
|
|
|
|
|
const navigate = useNavigate();
|
|
|
|
|
const location = useLocation();
|
|
|
|
|
|
|
|
|
|
const arrManager = ["testzp","testzac","testycc","testlyj","testqqs","testjjh","testhn"];//特定账号加修改所属供应商的菜单 zp
|
|
|
|
|
const arrManager = config.arrManager; // ["testzp","testzac","testycc","testlyj","testqqs","testjjh","testhn"];//特定账号加修改所属供应商的菜单 zp
|
|
|
|
|
if (arrManager.includes(authStore.login.username)){
|
|
|
|
|
items = item_manager;
|
|
|
|
|
}else{
|
|
|
|
|