Merge pull request #1766 from dataease/pr@dev@feat_public_link_title

feat: 公共连接title展示当前仪表板名称
This commit is contained in:
fit2cloud-chenyw 2022-02-15 10:48:08 +08:00 committed by GitHub
commit e00785a324
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View File

@ -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);

View File

@ -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)