遍历循环两个数组,比较名称是否相同,相同则选中 效果: el-table type="selection" 默认选中 https://blog.csdn.net/qq_35257117/article/details/96294240