update 优化预览xml和svg样式被修改问题

This commit is contained in:
LiuHao 2024-02-02 11:30:08 +08:00
parent 2da3e85254
commit 0423e28250

View File

@ -49,14 +49,6 @@
<el-tooltip effect="dark" content="前进" placement="bottom">
<el-button size="small" icon="Right" @click="bpmnModeler.get('commandStack').redo()" />
</el-tooltip>
<el-dialog v-model="perviewXMLShow" title="XML预览" width="80%">
<highlightjs :code="xmlStr" language="XML" />
</el-dialog>
<el-dialog v-model="perviewSVGShow" title="SVG预览" width="80%">
<div style="text-align: center" v-html="svgData" />
</el-dialog>
</el-space>
</div>
</el-header>
@ -80,6 +72,13 @@
</div>
</el-dialog>
</div>
<el-dialog v-model="perviewXMLShow" title="XML预览" width="80%">
<highlightjs :code="xmlStr" language="XML" />
</el-dialog>
<el-dialog v-model="perviewSVGShow" title="SVG预览" width="80%">
<div style="text-align: center" v-html="svgData" />
</el-dialog>
</template>
<script lang="ts" setup name="BpmnDesign">