Explorar o código

匹配完整的关键词

liushengqiang %!s(int64=2) %!d(string=hai) anos
pai
achega
48e70985fe
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/views/accompaniment/modals/form.vue

+ 1 - 0
src/views/accompaniment/modals/form.vue

@@ -1013,6 +1013,7 @@ export function getGradualLengthByXml(xml) {
     }
 
     const isKeyWork = keys.find(k => {
+      if (k === textContent) return true
       const ks = k.split(' ')
       return textContent && ks.includes(textContent)
     })