Files
yuthon_base/yuthon_bpd/static/src/xml/bpd_visual_action.xml
T
2026-09-23 18:06:45 +08:00

24 lines
940 B
XML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?xml version="1.0" encoding="UTF-8"?>
<templates xml:space="preserve">
<t t-name="yuthon_bpd.BpdVisualAction">
<!--
根节点必须是 .o_action:ActionContainer 通过 className 传入 'o_action',
只有它落在这一层,才能命中 webclient_layout.scss 的
`.o_action_manager > .o_action { height:100%; display:flex; flex-direction:column }`,
高度链才能往下传(否则 .o_content 退化成 auto,iframe 掉回默认 150px)。
-->
<div t-attf-class="{{props.className || 'o_action'}}">
<Layout display="display">
<div class="o_bpd_visual">
<iframe class="o_bpd_visual_frame"
t-att-src="url"
title="业务流程图"
loading="eager"/>
</div>
</Layout>
</div>
</t>
</templates>