Skip to content

Commit 760bc93

Browse files
committed
权限
1 parent 85920e0 commit 760bc93

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/components/Dashboard.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,9 @@ transition-group.widget.dashboard(name="fade")
8383
//- item(name='洗衣房' route='/laundry' value='›')
8484
//- item(name='App' route='/download' value='›')
8585
86-
.row
86+
.row(
87+
v-if="!tidyMode && user.admin && user.admin.indexOf('lecturerecord') !== -1"
88+
)
8789
item(name="讲座管理", route="/admin/lecture", value="›")
8890

8991
.row(

0 commit comments

Comments
 (0)