数组对象监控属性修改

This commit is contained in:
unknown 2022-10-17 13:48:23 +08:00
parent e26937bc37
commit f20aac7430
1 changed files with 1 additions and 0 deletions

View File

@ -202,6 +202,7 @@ export default {
});
});
let selectedDataRight = [];
this.selectedData = JSON.parse(JSON.stringify(this.selectedData));
(this.selectedData || []).map(v => {
selectedDataRight.push({
type: v.resource.type,