diff --git a/src/components/Dialogs/Dialogs.vue b/src/components/Dialogs/Dialogs.vue index 75622816c1c9d62057c0001b2c81fcf94fbe3673..3ee1955179f1eeb98cb5e3764fd6570b3c0b0ba3 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;