修复配置了"新增教师信息"的权限, 但是按钮不显示的bug

This commit is contained in:
mirage 2026-02-28 15:10:28 +08:00
parent ebd915c0a3
commit 1f7bfde802
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@
</el-card> </el-card>
<el-card class="!border-none mt-4" shadow="never"> <el-card class="!border-none mt-4" shadow="never">
<div> <div>
<el-button v-perms="['teacher:add']" type="primary" @click="handleAdd()"> <el-button v-perms="['teacher/add']" type="primary" @click="handleAdd()">
<template #icon> <template #icon>
<icon name="el-icon-Plus" /> <icon name="el-icon-Plus" />
</template> </template>