💄 统一 emit 格式.

This commit is contained in:
lijiahangmax
2024-03-20 23:45:31 +08:00
parent 386e440f02
commit eb9e184d79
16 changed files with 50 additions and 50 deletions

View File

@@ -2,9 +2,9 @@
<div class="layout-container" v-if="render">
<!-- 表格 -->
<role-table ref="table"
@openAdd="() => modal.openAdd()"
@openUpdate="(e) => modal.openUpdate(e)"
@openGrant="(e) => grantModal.open(e)" />
@open-add="() => modal.openAdd()"
@open-update="(e) => modal.openUpdate(e)"
@open-grant="(e) => grantModal.open(e)" />
<!-- 添加修改模态框 -->
<role-form-modal ref="modal"
@added="() => table.addedCallback()"

View File

@@ -2,10 +2,10 @@
<div class="layout-container" v-if="render">
<!-- 表格 -->
<user-table ref="table"
@openAdd="() => modal.openAdd()"
@openUpdate="(e) => modal.openUpdate(e)"
@openResetPassword="(e) => resetModal.open(e)"
@openGrantRole="(e) => grantRoleModal.open(e)" />
@open-add="() => modal.openAdd()"
@open-update="(e) => modal.openUpdate(e)"
@open-reset-password="(e) => resetModal.open(e)"
@open-grant-role="(e) => grantRoleModal.open(e)" />
<!-- 添加修改模态框 -->
<user-form-modal ref="modal"
@added="() => table.addedCallback()"