refactor: 去掉多余请求

This commit is contained in:
junjie 2021-08-03 16:50:43 +08:00
parent ab1133a5e6
commit dc0131ee05
2 changed files with 3 additions and 3 deletions

View File

@ -257,13 +257,13 @@
<!--添加视图-选择数据集--> <!--添加视图-选择数据集-->
<el-dialog <el-dialog
v-if="selectTableFlag"
v-dialogDrag v-dialogDrag
:title="$t('chart.add_chart')" :title="$t('chart.add_chart')"
:visible="selectTableFlag" :visible="selectTableFlag"
:show-close="false" :show-close="false"
width="70%" width="70%"
class="dialog-css" class="dialog-css"
:destroy-on-close="true"
> >
<el-row style="width: 800px;"> <el-row style="width: 800px;">
<el-form ref="form" :model="table" label-width="80px" size="mini" class="form-item"> <el-form ref="form" :model="table" label-width="80px" size="mini" class="form-item">

View File

@ -489,13 +489,13 @@
<!--视图更换数据集--> <!--视图更换数据集-->
<el-dialog <el-dialog
v-if="selectTableFlag"
v-dialogDrag v-dialogDrag
:title="changeDsTitle" :title="changeDsTitle"
:visible="selectTableFlag" :visible="selectTableFlag"
:show-close="false" :show-close="false"
width="70%" width="70%"
class="dialog-css" class="dialog-css"
:destroy-on-close="true"
> >
<table-selector @getTable="getTable" /> <table-selector @getTable="getTable" />
<p style="margin-top: 10px;color:#F56C6C;font-size: 12px;">{{ $t('chart.change_ds_tip') }}</p> <p style="margin-top: 10px;color:#F56C6C;font-size: 12px;">{{ $t('chart.change_ds_tip') }}</p>
@ -507,10 +507,10 @@
<!--编辑视图使用的数据集的字段--> <!--编辑视图使用的数据集的字段-->
<el-dialog <el-dialog
v-if="editDsField"
:visible="editDsField" :visible="editDsField"
:show-close="false" :show-close="false"
class="dialog-css" class="dialog-css"
:destroy-on-close="true"
:fullscreen="true" :fullscreen="true"
> >
<field-edit :param="table" /> <field-edit :param="table" />