fix: 数据集编辑时,不支持修改连接方式

This commit is contained in:
junjie 2021-06-28 16:43:25 +08:00
parent 99fcfe29c1
commit 8602db5e18

View File

@ -30,7 +30,7 @@
<el-form-item class="form-item">
<el-input v-model="name" size="mini" :placeholder="$t('commons.name')" />
</el-form-item>
<el-form-item class="form-item">
<el-form-item v-if="!param.tableId" class="form-item">
<el-select v-model="mode" filterable :placeholder="$t('dataset.connect_mode')" size="mini">
<el-option :label="$t('dataset.direct_connect')" value="0" />
<el-option :label="$t('dataset.sync_data')" value="1" :disabled="!kettleRunning" />