添加主机秘钥列表.
This commit is contained in:
@@ -2,12 +2,13 @@
|
||||
<div class="layout-container">
|
||||
<!-- 表格 -->
|
||||
<host-identity-table ref="table"
|
||||
@openAdd="() => modal.openAdd()"
|
||||
@openUpdate="(e) => modal.openUpdate(e)" />
|
||||
@openAdd="() => drawer.openAdd()"
|
||||
@openUpdate="(e) => drawer.openUpdate(e)" />
|
||||
<!-- 添加修改模态框 -->
|
||||
<host-identity-form-modal ref="modal"
|
||||
@added="() => table.addedCallback()"
|
||||
@updated="() => table.updatedCallback()" />
|
||||
<host-identity-form-drawer ref="drawer"
|
||||
@added="() => table.addedCallback()"
|
||||
@updated="() => table.updatedCallback()" />
|
||||
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -19,11 +20,12 @@
|
||||
|
||||
<script lang="ts" setup>
|
||||
import HostIdentityTable from './components/host-identity-table.vue';
|
||||
import HostIdentityFormModal from './components/host-identity-form-modal.vue';
|
||||
import HostIdentityFormDrawer from './components/host-identity-form-drawer.vue';
|
||||
|
||||
import { ref } from 'vue';
|
||||
|
||||
const table = ref();
|
||||
const modal = ref();
|
||||
const drawer = ref();
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user