Merge pull request #3611 from dataease/pr@dev_eslint_auto_fix

Pr@dev eslint auto fix
This commit is contained in:
王嘉豪 2022-11-02 16:03:44 +08:00 committed by GitHub
commit 8a6eb0ad1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -3,10 +3,12 @@
<el-row style="margin: 6px 0 16px 0">
<el-col :span="12">
<deBtn
v-if="hasDataPermission('manage', param.privileges)"
secondary
icon="el-icon-plus"
@click="() => addTask()"
>{{ $t('dataset.add_task') }}</deBtn>
&nbsp;
</el-col>
<el-col
style="text-align: right"
@ -926,7 +928,7 @@ export default {
getIncrementalConfig() {
post('/dataset/table/incrementalConfig', { tableId: this.table.id }).then(response => {
this.incrementalConfig = response.data
if (this.incrementalConfig.incrementalAdd.length === 0 && this.incrementalConfig.incrementalDelete.length === 0) {
if (this.incrementalConfig?.incrementalAdd?.length === 0 && this.incrementalConfig?.incrementalDelete?.length === 0) {
this.incrementalUpdateType = 'incrementalAdd'
this.sql = ''
return

View File

@ -692,7 +692,7 @@ export default {
return newArr
},
setType() {
this.form.type = this.params.type
this.$set(this.form, 'type', this.params.type)
this.form.configuration = {
initialPoolSize: 5,
extraParams: '',