Commit 4ba6d93e by pangchong

style(editor): 调整变更说明文本渲染格式

- 将变更说明文本内容单独占一行,提升代码可读性
- 删除多余空行,优化代码结构
parent fae3e8cf
...@@ -531,7 +531,6 @@ export const getCepTaskNumber = (node: XmlNode): string => { ...@@ -531,7 +531,6 @@ export const getCepTaskNumber = (node: XmlNode): string => {
return parts.join('-') return parts.join('-')
} }
export const isAllEinDataSameEffect = (einlst: XmlNode): boolean => { export const isAllEinDataSameEffect = (einlst: XmlNode): boolean => {
if (!einlst.children || einlst.children.length === 0) return true if (!einlst.children || einlst.children.length === 0) return true
......
...@@ -1363,11 +1363,11 @@ ...@@ -1363,11 +1363,11 @@
style="color: color-mix(in srgb, currentColor 50%, transparent)" style="color: color-mix(in srgb, currentColor 50%, transparent)"
:title="'变更说明 (PDF 中隐藏)'" :title="'变更说明 (PDF 中隐藏)'"
> >
<span class="font-semibold not-italic mr-1">CHGDESC:</span>{{ node.textContent }} <span class="font-semibold not-italic mr-1">CHGDESC:</span>
{{ node.textContent }}
</div> </div>
</template> </template>
<!-- 26. 其它所有容器节点(如 JOBCARD, TFMATR, SUBTASK, LIST1... --> <!-- 26. 其它所有容器节点(如 JOBCARD, TFMATR, SUBTASK, LIST1... -->
<template v-else-if="isContainer"> <template v-else-if="isContainer">
<div class="space-y-1"> <div class="space-y-1">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment