准备数据data(){ return { obj:{ '001':'a', '002':'b', '003':'c', '004':'d' } } }, 1、遍历对象获取所有的key和valuefor (let k in this.obj){ console.log(k.
確定! 回上一頁