多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
``` async getData() { const res = await this.$get(this.path + "tree") console.log(res) } ``` ``` var obj = { a: 1, b: 2, c: 3, d: 4, e: 5 } $pick(obj, arr) { arr.reduce((iter, val) => (val in obj && (iter[val] = obj[val]), iter), {}) } let obj2 = pick(obj, ['a', 'd', 'e']) ```