vue-element-admin icon indicating copy to clipboard operation
vue-element-admin copied to clipboard

动态更新tagsview的title 失败

Open helloqingbing opened this issue 3 years ago • 4 comments

Screen Shot 2021-01-22 at 4 24 59 PM

<el-table-column prop="name" label="名称" width="250"> <router-link :to="{path: '/cluster/detail', meta: {title: cluster_name.row.name}, query: {name: cluster_name.row.name}}"><svg-icon icon-class="dashboard" />&nbsp;{{cluster_name.row.name}}</router-link> </template> </el-table-column>

这里好像不支持meta(API文档), 但是添加了meta也会起作用。 我的表格里面name 列新增了单击事件,当跳转到新的路由后,因为meta:title 没有起作用,所以面包屑和body里面的name参数都是对的,但是tagsview 的title 一直不变,关闭这个tagsview 在打开只有第一次是正确的。 Screen Shot 2021-01-22 at 4 30 33 PM

helloqingbing avatar Jan 22 '21 08:01 helloqingbing