Open huoxiangdong opened 6 years ago
let routes = [] let parent = routes // 这里传递的是routes指针,parent与routes共同指向->[] parent.push('HA') console.log(routes) // ['HA']