qdt-admin-layout 1.1.42 → 1.1.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/component/Header/index.vue +14 -10
package/package.json
CHANGED
|
@@ -61,16 +61,20 @@ export default {
|
|
|
61
61
|
// 大屏可视化
|
|
62
62
|
defaultLargeScreenBtn() {
|
|
63
63
|
// 这里为了可读性,不再将click事件放到外面
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
64
|
+
console.log(this.$store.state.user?.menu);
|
|
65
|
+
|
|
66
|
+
if (this.$store.state.user?.menu.includes('50207'))
|
|
67
|
+
return (
|
|
68
|
+
<div
|
|
69
|
+
title="大屏可视化"
|
|
70
|
+
class="user-dropdown-reference"
|
|
71
|
+
on-click={() => this.handleLargeScreen()}
|
|
72
|
+
>
|
|
73
|
+
<span class="username">大屏可视化</span>
|
|
74
|
+
<i class="el-icon-monitor username" />
|
|
75
|
+
<span class="username shu">|</span>
|
|
76
|
+
</div>
|
|
77
|
+
);
|
|
74
78
|
},
|
|
75
79
|
|
|
76
80
|
// 右侧下拉菜单
|