提交 9811f659 编写于 作者: tony001's avatar tony001

工具栏项增加插件适配

上级 b7d85a78
...@@ -7,6 +7,9 @@ ...@@ -7,6 +7,9 @@
<#else> <#else>
<#assign ModelsName = 'toolBarModels' /> <#assign ModelsName = 'toolBarModels' />
</#if> </#if>
<#if item.render??>
${item.render.code}
<#else>
<#assign deuiaction=item.getPSUIAction()> <#assign deuiaction=item.getPSUIAction()>
<#if item.getTooltip()?? && item.getTooltip() != ''> <#if item.getTooltip()?? && item.getTooltip() != ''>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
...@@ -46,4 +49,5 @@ ...@@ -46,4 +49,5 @@
</#if> </#if>
</#if> </#if>
</#if> </#if>
</#if>
...@@ -7,6 +7,9 @@ ...@@ -7,6 +7,9 @@
<#else> <#else>
<#assign ModelsName = 'toolBarModels' /> <#assign ModelsName = 'toolBarModels' />
</#if> </#if>
<#if item.render??>
${item.render.code}
<#else>
<dropdown v-show="${ModelsName}.${item.name}.visabled" trigger='click'> <dropdown v-show="${ModelsName}.${item.name}.visabled" trigger='click'>
<#if item.getTooltip()?? && item.getTooltip() != ''> <#if item.getTooltip()?? && item.getTooltip() != ''>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
...@@ -37,4 +40,5 @@ ...@@ -37,4 +40,5 @@
</#list> </#list>
</dropdown-menu> </dropdown-menu>
</#if> </#if>
</dropdown> </dropdown>
\ No newline at end of file </#if>
\ No newline at end of file
<span class='seperator'>|</span> <#if item.render??>
\ No newline at end of file ${item.render.code}
<#else>
<span class='seperator'>|</span>
</#if>
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册