Commit 151025c3 by pangchong

feat: 格式化代码

parent 7260b8a1
...@@ -1778,9 +1778,7 @@ export function useTableEditor(props: { node: XmlNode }) { ...@@ -1778,9 +1778,7 @@ export function useTableEditor(props: { node: XmlNode }) {
if (tgroupNode) { if (tgroupNode) {
const spanSpec = tgroupNode.children const spanSpec = tgroupNode.children
.filter((c) => c.tagName === 'SPANSPEC') .filter((c) => c.tagName === 'SPANSPEC')
.find((c) => .find((c) => (c.attributes?.SPANNAME || c.attributes?.spanname || '').toLowerCase() === spanName)
(c.attributes?.SPANNAME || c.attributes?.spanname || '').toLowerCase() === spanName
)
if (spanSpec?.attributes?.MERGED === 'TRUE') { if (spanSpec?.attributes?.MERGED === 'TRUE') {
styles['background-color'] = 'yellow' styles['background-color'] = 'yellow'
} }
......
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