Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

动态更新tagsview的title 失败 #3589

Open
helloqingbing opened this issue Jan 22, 2021 · 4 comments
Open

动态更新tagsview的title 失败 #3589

helloqingbing opened this issue Jan 22, 2021 · 4 comments

Comments

@helloqingbing
Copy link

helloqingbing commented Jan 22, 2021

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
Copy link
Author

删除216行也不行。
Screen Shot 2021-01-22 at 4 35 09 PM
单击这个名称后,tagsview title 不变
Screen Shot 2021-01-22 at 4 35 55 PM

@helloqingbing
Copy link
Author

[url]/cluster/detail?name=rec-redkv-user-note-feature

如果我想打开多个name的tagsview, 如何操作,目前看相同的路由,不同的参数,默认只能打开一个tagsview

@Aibono1
Copy link

Aibono1 commented Sep 12, 2021

[url]/cluster/detail?name=rec-redkv-user-note-feature

如果我想打开多个name的tagsview, 如何操作,目前看相同的路由,不同的参数,默认只能打开一个tagsview

请问下后期这个问题有得到解决吗?目前我也遇到了这个需求,打算多开tagsview,但因为路径只有一个所以实现不了。

@waterworld-warehouse
Copy link

请问后来解决了吗,我想一个页面多开几个tab

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants