fix: 修复出现空标注的情况

This commit is contained in:
maxmon 2022-04-07 23:45:25 +08:00
parent bc185986f5
commit b5b6febf9e
1 changed files with 1 additions and 1 deletions

View File

@ -557,7 +557,7 @@ export default {
return false return false
} }
const isRepeat = this.checkIsRepeat(this.nowNer) const isRepeat = this.checkIsRepeat(this.nowNer)
if (!isRepeat && this.nowNer.isMove) { if (!isRepeat && this.nowNer.isMove && this.nowNer.name) {
console.log(this.nowNer) console.log(this.nowNer)
delete this.nowNer.isMove delete this.nowNer.isMove
this.ners.push(this.nowNer) this.ners.push(this.nowNer)