fix: model

pull/2/head
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> </script>
<template> <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 :model="queryParams" ref="queryRef" :inline="true">
<el-form-item label="数据源" prop="dataSourceConfigId"> <el-form-item label="数据源" prop="dataSourceConfigId">
<el-select v-model="queryParams.dataSourceConfigId" placeholder="请选择数据源" clearable> <el-select v-model="queryParams.dataSourceConfigId" placeholder="请选择数据源" clearable>

View File

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

View File

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

View File

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

View File

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