Commit a8cf6b6f by cherishsince

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

parent 15b8ea5a
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment