Merge pull request 'fix🐛资源-平台资源和校本资源里别人上传的文件不应该可以编辑名称;' (#121) from yangws into main
Reviewed-on: #121
This commit is contained in:
commit
444daa3cec
|
@ -36,11 +36,13 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="item-btns" @click.stop>
|
<div class="item-btns" @click.stop>
|
||||||
|
<!-- 只有自己创建的课件可以修改名称-->
|
||||||
<el-popover
|
<el-popover
|
||||||
placement="bottom-end"
|
placement="bottom-end"
|
||||||
trigger="hover"
|
trigger="hover"
|
||||||
popper-class="custom-popover"
|
popper-class="custom-popover"
|
||||||
:visible="item.showPopover"
|
:visible="item.showPopover"
|
||||||
|
v-if="Number(item.createUserId) === userInfo.userId"
|
||||||
>
|
>
|
||||||
<template #reference>
|
<template #reference>
|
||||||
<el-button link type="primary">
|
<el-button link type="primary">
|
||||||
|
|
Loading…
Reference in New Issue