Antd Design of Vue
https://www.antdv.com/docs/vue/introduce-cn/
一、给数组添加属性
this.$set(datalist[i], 'content', '')
二、点击编辑路由,直接获取数据
在接收方添加属性keepAlive
meta: { title: '主页', keepAlive: true }
三、避免每次点击路由都重新加载所有内容
App.vue
<keep-alive :include="cashViews">
<router-view/>
cashViews中添加页面的name
data () {
return {
cashViews: ['']
}
}