From 85558c7bd9080548bca4521dba147086ee101ea8 Mon Sep 17 00:00:00 2001 From: zhaochongyu Date: Tue, 8 Jun 2021 09:32:53 +0800 Subject: [PATCH] fix action attributes display --- src/components/Dialogs/Dialogs.vue | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/src/components/Dialogs/Dialogs.vue b/src/components/Dialogs/Dialogs.vue index 7562281..3ee1955 100644 --- a/src/components/Dialogs/Dialogs.vue +++ b/src/components/Dialogs/Dialogs.vue @@ -349,7 +349,7 @@ JSON.stringify(item)) ) ).map((item) => JSON.parse(item)); + if (_this.RcsDetail.actions) { + for (let i of _this.RcsDetail.actions) { + for (let j in _this.actionsAttris) { + if (_this.actionsAttris[j].name == i.name) { + _this.actionsAttris[j] = JSON.parse(JSON.stringify(i)); + } + } + _this.action_attributes.push(JSON.stringify(i)); + _this.addActionTag(_this.action_attributes); + } + } for (let i in _this.instanceAttris) { _this.InsTypes[_this.instanceAttris[i].name] = _this.instanceAttris[i].content.type; -- Gitee