提交 a6d850a5 编写于 作者: M MaxKey

org root set delete button hide

上级 59002e7a
......@@ -91,7 +91,9 @@
<button nz-button type="button" (click)="onEdit($event, data.id)" style="float: left">
{{ 'mxk.text.edit' | i18n }}
</button>
<button nz-button type="button" (click)="onDelete($event, data.id)" nzDanger>{{ 'mxk.text.delete' | i18n
<button
*ngIf="data.parentId != null && data.parentId != '-1' && data.parentId != '0' && data.id != data.instId"
nz-button type="button" (click)="onDelete($event, data.id)" nzDanger>{{ 'mxk.text.delete' | i18n
}}</button>
</div>
</td>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册