Pārlūkot izejas kodu

匹配完整的关键词

liushengqiang 2 gadi atpakaļ
vecāks
revīzija
48e70985fe
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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)
     })