Commit d640e344027c6beba06bbc7e38951ab9e87f159e
Merge branch 'fix/DEFECT-2295' into 'main_dev'
fix: 云端和边端环境中,租户管理员创建的产品品类,物模型允许发布上线,但是提示无效参数 See merge request yunteng/thingskit-front!1410
Showing
1 changed file
with
4 additions
and
1 deletions
| ... | ... | @@ -56,7 +56,10 @@ |
| 56 | 56 | > |
| 57 | 57 | </div> |
| 58 | 58 | <div class="flex gap-2"> |
| 59 | - <Authority :value="[ModelOfMatterPermission.RELEASE]"> | |
| 59 | + <Authority | |
| 60 | + v-if="!props.record.ifShowClass" | |
| 61 | + :value="[ModelOfMatterPermission.RELEASE]" | |
| 62 | + > | |
| 60 | 63 | <Popconfirm |
| 61 | 64 | title="是否需要发布上线?" |
| 62 | 65 | ok-text="确定" | ... | ... |