💄 统一 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">
<!-- 列表-表格 -->
<dict-key-table ref="table"
@openAdd="() => modal.openAdd()"
@openUpdate="(e) => modal.openUpdate(e)"
@openView="(v, t) => view.open(v, t)" />
@open-add="() => modal.openAdd()"
@open-update="(e) => modal.openUpdate(e)"
@open-view="(v, t) => view.open(v, t)" />
<!-- 添加修改模态框 -->
<dict-key-form-modal ref="modal"
@added="modalAddCallback"

View File

@@ -2,9 +2,9 @@
<div class="layout-container">
<!-- 列表-表格 -->
<dict-value-table ref="table"
@openAdd="() => modal.openAdd()"
@openUpdate="(e) => modal.openUpdate(e)"
@openHistory="(e) => history.open(e.id, e.label)" />
@open-add="() => modal.openAdd()"
@open-update="(e) => modal.openUpdate(e)"
@open-history="(e) => history.open(e.id, e.label)" />
<!-- 添加修改模态框 -->
<dict-value-form-modal ref="modal"
@added="modalAddCallback"

View File

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