From 98b5dd0f5bd457a13317598329d5e913337fb524 Mon Sep 17 00:00:00 2001
From: aaron <462826@qq.com>
Date: Mon, 16 Nov 2020 16:30:59 +0800
Subject: [PATCH] gen more than one options when excel has >1 sheets
---
ui/src/components/FieldRefer.vue | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/ui/src/components/FieldRefer.vue b/ui/src/components/FieldRefer.vue
index d1f9c437..6aeff0ec 100644
--- a/ui/src/components/FieldRefer.vue
+++ b/ui/src/components/FieldRefer.vue
@@ -7,9 +7,9 @@
序列(Ranges)
实例(Instances)
配置(Config)
- 内容(取至YAML)
- 表格数据(Excel)
- 文本文件(Text)
+ 内容(来自YAML)
+ 表格(Excel)
+ 文本(Text)
@@ -28,7 +28,7 @@
-
+
选择
@@ -109,8 +109,8 @@ export default {
},
computed: {
- showColIndex() {
- return this.refer.type == 'text' && !this.refer.hasTitle
+ showColSection() {
+ return this.refer.type == 'yaml' || this.refer.type == 'text'
}
},
created () {
--
GitLab