From 83a6bd1a625ea325e4d105f86f3cc396317618d1 Mon Sep 17 00:00:00 2001 From: maxmon <541182180@qq.com> Date: Thu, 17 Jun 2021 03:03:44 +0800 Subject: [PATCH] =?UTF-8?q?*=20=E9=BB=98=E8=AE=A4=E9=80=89=E4=B8=AD?= =?UTF-8?q?=E6=8B=96=E6=8B=BD=E6=96=87=E4=BB=B6=E4=B8=AD=E7=9A=84=E7=AC=AC?= =?UTF-8?q?=E4=B8=80=E4=B8=AA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fe/src/components/NER/index.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/fe/src/components/NER/index.vue b/fe/src/components/NER/index.vue index 0565c16..576c75f 100644 --- a/fe/src/components/NER/index.vue +++ b/fe/src/components/NER/index.vue @@ -501,6 +501,10 @@ export default { // 更新文本信息 that.$set(that.files, i, file.name) that.$set(that.textDic, file.name, e.target.result) + if (i === 0) { + // 默认选中第一个文件 + that.setNowText(file.name) + } } // 读取图片 // reader.readAsDataURL(file)