fix: model

This commit is contained in:
xingyu 2022-11-15 23:54:06 +08:00
parent 1d3fe30add
commit 9f42e8e102
5 changed files with 5 additions and 5 deletions

View File

@ -79,7 +79,7 @@ defineExpose({
</script>
<template>
<!-- 导入表 -->
<XModal title="导入表" v-model="visible" maxHeight="500px" width="50%">
<XModal title="导入表" v-model="visible">
<el-form :model="queryParams" ref="queryRef" :inline="true">
<el-form-item label="数据源" prop="dataSourceConfigId">
<el-select v-model="queryParams.dataSourceConfigId" placeholder="请选择数据源" clearable>

View File

@ -114,7 +114,7 @@ defineExpose({
})
</script>
<template>
<XModal title="预览" v-model="preview.open" top="5vh" maxHeight="800px" width="90%">
<XModal title="预览" v-model="preview.open">
<div class="flex">
<el-card class="w-1/4" :gutter="12" shadow="hover">
<el-tree

View File

@ -167,7 +167,7 @@ getList()
<el-button @click="dialogVisible = false">{{ t('dialog.close') }}</el-button>
</template>
</XModal>
<XModal v-model="uploadDialogVisible" :title="uploadDialogTitle" :destroy-on-close="true">
<XModal v-model="uploadDialogVisible" :title="uploadDialogTitle">
<el-upload
ref="uploadRef"
:action="updateUrl + '?updateSupport=' + updateSupport"

View File

@ -233,7 +233,7 @@ onBeforeMount(() => {
</el-col>
</el-row>
</el-scrollbar>
<XModal v-model="dialogVisible" :title="keyTemplate + ' 模板'" width="60%" maxHeight="800px">
<XModal v-model="dialogVisible" :title="keyTemplate + ' 模板'">
<el-row>
<el-col :span="14" style="margin-top: 10px">
<el-card shadow="always">

View File

@ -97,7 +97,7 @@
</vxe-table>
</ContentWrap>
<!-- 添加或修改菜单对话框 -->
<XModal v-model="dialogVisible" id="menuModel" :title="dialogTitle">
<XModal id="menuModel" v-model="dialogVisible" :title="dialogTitle">
<!-- 对话框(添加 / 修改) -->
<el-form
ref="formRef"