BUG196:进入其他用户创建的班级的学生管理界面,建议删除导入模板下载

This commit is contained in:
fan 2021-03-29 17:08:45 +08:00
parent ac56715942
commit c4ae02df0d

View File

@ -76,7 +76,7 @@ export default {
],
actions: [
{ text: '添加学生', handler: this.createStudent, show: this.$route.query.creatorId == this.$store.state.user.id },
{ text: '导入模板下载', handler: this.exportTemplate },
{ text: '导入模板下载', handler: this.exportTemplate, show: this.$route.query.creatorId == this.$store.state.user.id },
{ text: '导入学生', handler: this.importResults, fileType: 'file', show: this.$route.query.creatorId == this.$store.state.user.id }
]
}