From d925c07d9e4eb0f0d0f519bb9daabd9b93df5a3c Mon Sep 17 00:00:00 2001 From: OrangeM21 Date: Mon, 11 May 2020 19:22:08 +0800 Subject: [PATCH] =?UTF-8?q?[fix]=E5=AE=8C=E6=88=90=E5=91=BD=E4=BB=A4?= =?UTF-8?q?=E8=BF=87=E6=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/RelationCard/index.vue | 2 +- src/i18n/langs/cn.json | 1 + .../CommandFilterDetail/Detail.vue | 56 +++++++++++++------ .../CommandFilterDetail/RulesCreateUpate.vue | 14 ++++- .../CommandFilterDetail/index.vue | 4 +- .../CommandFilter/CommandFilterList.vue | 5 +- 6 files changed, 60 insertions(+), 22 deletions(-) diff --git a/src/components/RelationCard/index.vue b/src/components/RelationCard/index.vue index 76fb2a4c8..1822c9094 100644 --- a/src/components/RelationCard/index.vue +++ b/src/components/RelationCard/index.vue @@ -196,7 +196,7 @@ export default { data = this.iAjax.processResults.bind(this)(data) data.results.forEach((v) => { if (!this.hasObjects.find((item) => item.value === v.value)) { - this.HasObjects.push(v) + this.iHasObjects.push(v) } }) // 如果还有其它页,继续获取, 如果没有就停止 diff --git a/src/i18n/langs/cn.json b/src/i18n/langs/cn.json index d5d66ab0f..c6b9b5d93 100644 --- a/src/i18n/langs/cn.json +++ b/src/i18n/langs/cn.json @@ -308,6 +308,7 @@ "create_command_filter":"创建命令过滤器", "update_command_filter":"更新命令过滤器", "commandFilterDetail":"命令过滤器详情", + "commandFilterRules": "命令过滤器规则", "rules":"规则", "systemUser":"系统用户", "date_updated":"更新日期", diff --git a/src/views/assets/CommandFilter/CommandFilterDetail/Detail.vue b/src/views/assets/CommandFilter/CommandFilterDetail/Detail.vue index cd403d2a4..2cbdc8a56 100644 --- a/src/views/assets/CommandFilter/CommandFilterDetail/Detail.vue +++ b/src/views/assets/CommandFilter/CommandFilterDetail/Detail.vue @@ -4,10 +4,10 @@ - + -a +