update 优化xml预览和svg预览
This commit is contained in:
parent
1663c587e8
commit
3fbd4657f4
@ -66,13 +66,13 @@
|
|||||||
</el-container>
|
</el-container>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="preview-XML">
|
<div>
|
||||||
<el-dialog v-model="perviewXMLShow" title="XML预览" width="80%">
|
<el-dialog v-model="perviewXMLShow" title="XML预览" width="80%" append-to-body>
|
||||||
<highlightjs :code="xmlStr" language="XML" />
|
<highlightjs :code="xmlStr" language="XML" />
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<el-dialog v-model="perviewSVGShow" title="SVG预览" width="80%">
|
<el-dialog v-model="perviewSVGShow" title="SVG预览" width="80%" append-to-body>
|
||||||
<div style="text-align: center" v-html="svgData" />
|
<div style="text-align: center" v-html="svgData" />
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
</div>
|
</div>
|
||||||
@ -361,7 +361,6 @@ defineExpose({
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.preview-XML {
|
|
||||||
pre {
|
pre {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
@ -374,7 +373,6 @@ defineExpose({
|
|||||||
padding: 0.5em;
|
padding: 0.5em;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
.open-bar {
|
.open-bar {
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user