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

@ -113,7 +113,7 @@
</Table>
</div>
</el-card>
<Dialog id="dictModel" v-model="dialogVisible" :title="dialogTitle">
<XModal id="dictModel" v-model="dialogVisible" :title="dialogTitle">
<Form
v-if="['typeCreate', 'typeUpdate'].includes(actionType)"
:schema="DictTypeSchemas.allSchemas.formSchema"
@ -144,7 +144,7 @@
/>
<XButton :title="t('dialog.close')" @click="dialogVisible = false" />
</template>
</Dialog>
</XModal>
</div>
</template>
<script setup lang="ts">