forked from github/dataease
Merge pull request #1766 from dataease/pr@dev@feat_public_link_title
feat: 公共连接title展示当前仪表板名称
This commit is contained in:
commit
e00785a324
@ -45,6 +45,7 @@ public class ShiroServiceImpl implements ShiroService {
|
||||
// 获取主题信息
|
||||
filterChainDefinitionMap.put("/plugin/theme/themes", ANON);
|
||||
filterChainDefinitionMap.put("/plugin/theme/items/**", ANON);
|
||||
filterChainDefinitionMap.put("/plugin/view/types", ANON);
|
||||
|
||||
// 验证链接
|
||||
filterChainDefinitionMap.put("/api/link/validate**", ANON);
|
||||
|
@ -40,6 +40,8 @@ export default {
|
||||
id: res.data.id,
|
||||
name: res.data.name
|
||||
})
|
||||
// 设置浏览器title为当前仪表板名称
|
||||
document.title = res.data.name
|
||||
// 刷新联动信息
|
||||
getPanelAllLinkageInfo(this.resourceId).then(rsp => {
|
||||
this.$store.commit('setNowPanelTrackInfo', rsp.data)
|
||||
|
Loading…
Reference in New Issue
Block a user