concat() 方法用于连接两个或多个数组。

定义和用法
concat() 方法用于连接两个或多个数组。
该方法不会改变现有的数组,而仅仅会返回被连接数组的一个副本。

this.listdata = this.listdata.concat(res.list)

你可能感兴趣的:(js,vue.js,uni-app,r语言)