for (const { name, prop, data, checkbox } of _this.childDialog) { if (name === _prop) { _this.childInfo.childData = data _this.childInfo.childProp = prop _this.childInfo.childName = name _this.childInfo.childCheck = checkbox _this.childrenShow = true _this.$nextTick(() => { _this.$refs.tree.setCheckedKeys(_this.realData[_this.childInfo.childProp].split(',')) }) } }
for循环对象
最新推荐文章于 2024-08-27 10:57:40 发布