|
@@ -226,6 +226,8 @@ export function getGradualLengthByXml(xml: string) {
|
|
}
|
|
}
|
|
|
|
|
|
const isKeyWork = keys.find((k) => {
|
|
const isKeyWork = keys.find((k) => {
|
|
|
|
+ // 排除单个字母的情况
|
|
|
|
+ if (!textContent || textContent.length <= 1) return false
|
|
const ks = k.split(' ')
|
|
const ks = k.split(' ')
|
|
return textContent && ks.includes(textContent) || k === textContent
|
|
return textContent && ks.includes(textContent) || k === textContent
|
|
})
|
|
})
|