添加 editor.

This commit is contained in:
lijiahang
2023-10-26 14:10:48 +08:00
parent d3825ab5b2
commit 03e18cc0e2
9 changed files with 327 additions and 16380 deletions

View File

@@ -2,12 +2,12 @@
<div class="layout-container">
<!-- 列表-表格 -->
<dict-key-table ref="table"
@openAdd="() => modal.openAdd()"
@openUpdate="(e) => modal.openUpdate(e)" />
@openAdd="() => modal.openAdd()"
@openUpdate="(e) => modal.openUpdate(e)" />
<!-- 添加修改模态框 -->
<dict-key-form-modal ref="modal"
@added="modalAddCallback"
@updated="modalUpdateCallback" />
@added="modalAddCallback"
@updated="modalUpdateCallback" />
</div>
</template>
@@ -18,11 +18,10 @@
</script>
<script lang="ts" setup>
import { ref } from 'vue';
import DictKeyTable from './components/dict-key-table.vue';
import DictKeyFormModal from './components/dict-key-form-modal.vue';
import { ref } from 'vue';
const table = ref();
const modal = ref();