refactor: use XModel

This commit is contained in:
xingyu4j
2022-11-15 12:25:19 +08:00
parent 29f2f99401
commit c5075dad3b
37 changed files with 88 additions and 86 deletions

View File

@ -38,7 +38,7 @@
</vxe-grid>
</ContentWrap>
<!-- 弹窗 -->
<Dialog id="errorCodeModel" v-model="dialogVisible" :title="dialogTitle">
<XModal id="errorCodeModel" v-model="dialogVisible" :title="dialogTitle">
<!-- 对话框(添加 / 修改) -->
<Form
v-if="['create', 'update'].includes(actionType)"
@ -64,7 +64,7 @@
<!-- 按钮关闭 -->
<XButton :loading="actionLoading" :title="t('dialog.close')" @click="dialogVisible = false" />
</template>
</Dialog>
</XModal>
</template>
<script setup lang="ts">