Commit f2930550 authored by GuanHua's avatar GuanHua

merge

parent 4b983555
......@@ -18,8 +18,8 @@ const AuthButton = (props: AuthButtonProps) => {
const userBtn = require('../../../config/router.config.json')
const path = menuCode.split(".")[0];
let AuthButton = userBtn.filter((item: any) => item.path === `/${path}`);
let AuthUrl = AuthButton[0].routes.filter((item: any) => item.path === "/commodity/productWillCheck")
const AuthButton = userBtn.filter((item: any) => item.path === `/${path}`);
const AuthUrl = AuthButton[0].routes.filter((item: any) => item.path === "/commodity/productWillCheck")
AuthUrl[0].btn = [
{
btnCode: 'commodity.productWillCheck1',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment