【解决todo】AI 角色仓库,公开仓库不显示 创建角色按钮

This commit is contained in:
cherishsince 2024-05-21 21:19:49 +08:00
parent 15b8ea5a0d
commit a8cf6b6f29

View File

@ -17,7 +17,7 @@
:suffix-icon="Search"
@change="getActiveTabsRole"
/>
<el-button type="primary" @click="handlerAddRole" style="margin-left: 20px;">
<el-button v-if="activeRole == 'my-role'" type="primary" @click="handlerAddRole" style="margin-left: 20px;">
<el-icon>
<User/>
</el-icon>