Commit eda8a75c authored by 黄奎's avatar 黄奎

菜单处理

parent 6e9024e1
...@@ -22,17 +22,16 @@ export default defineComponent({ ...@@ -22,17 +22,16 @@ export default defineComponent({
return x.id == 16; return x.id == 16;
}); });
const typicMenuList = []; //台湾PIC菜单 const typicMenuList = [] as any; //台湾PIC菜单
const allMenuList = useMenus.getMenus(); const allMenuList = useMenus.getMenus();
if (allMenuList && allMenuList.length > 0) { if (allMenuList && allMenuList.length > 0) {
allMenuList.forEach((item) => { allMenuList.forEach((item) => {
if (item.id != 16 && item.id != 13 && item.id != 20) { if (item.id != 16 && item.id != 13 && item.id != 10 && item.id != 20) {
typicMenuList.push(item); typicMenuList.push(item);
} }
}); });
} }
// data.menus = !inject(DirtionmaryHelper.DOMAIN_NAME)?menList:useMenus.getMenus()
if (inject(DirtionmaryHelper.DOMAIN_NAME) == "sell.oytour") { if (inject(DirtionmaryHelper.DOMAIN_NAME) == "sell.oytour") {
data.menus = sellMenuList; data.menus = sellMenuList;
} else if (inject(DirtionmaryHelper.DOMAIN_NAME) == "typic.oytour") { } else if (inject(DirtionmaryHelper.DOMAIN_NAME) == "typic.oytour") {
......
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