Commit a30a707c5481d84db8d2e5aed3fea6310e72767a
1 parent
5dcc9a60
fix: 云端和边端环境中,租户管理员创建的产品品类,物模型允许发布上线,但是提示无效参数
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="确定" | ... | ... |