mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
处理下拉箭头
This commit is contained in:
@@ -13,9 +13,16 @@
|
||||
</a>
|
||||
</xpath>
|
||||
</t>
|
||||
<!-- web.NavBar.SectionsMenu-->
|
||||
<!-- 没有子菜单时,调用web.DropdownItem-->
|
||||
<!-- web.UserMenu-->
|
||||
|
||||
|
||||
<!-- 菜单有下拉箭头, owl的在 web.NavBar, 首行用 MenuDropdown, 下拉的用 DropdownItem -->
|
||||
<!-- owl NavBar-->
|
||||
<t t-name="app_web_enterprise.NavBar.SectionsMenu" t-inherit="web.NavBar.SectionsMenu" t-inherit-mode="extension">
|
||||
<xpath expr="//MenuDropdown" position="attributes">
|
||||
<attribute name="showCaret">true</attribute>
|
||||
</xpath>
|
||||
</t>
|
||||
<!-- <t t-name="app_web_enterprise.NavBar.SectionsMenu.Dropdown.MenuSlot" t-inherit="web.NavBar.SectionsMenu.Dropdown.MenuSlot" t-inherit-mode="extension">-->
|
||||
<!-- <xpath expr="//DropdownItem[1]" position="attributes">-->
|
||||
<!-- <attribute name="showCaret">true</attribute>-->
|
||||
<!-- </xpath>-->
|
||||
<!-- </t>-->
|
||||
</templates>
|
||||
|
||||
Reference in New Issue
Block a user