Skip to content

Commit 4eae3ce

Browse files
committed
fix: eslint
1 parent 4f830d9 commit 4eae3ce

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

frontend/src/views/ds/form.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
@closed="close"
99
modal-class="add-datasource_dialog"
1010
>
11-
<template #header="{ close, titleId, titleClass }">
11+
<template #header="{ title }">
1212
<div style="display: flex">
1313
<div style="margin-right: 24px">{{ title }}</div>
1414
<el-steps
@@ -180,7 +180,7 @@ const excelUploadSuccess = ref(false);
180180
const tableListLoading = ref(true);
181181
const token = wsCache.get("user.token");
182182
const headers = ref<any>({ "X-SQLBOT-TOKEN": `Bearer ${token}` });
183-
const title = ref('')
183+
const title = ref("");
184184
185185
const rules = reactive<FormRules>({
186186
name: [
@@ -223,7 +223,7 @@ const close = () => {
223223
const open = (item: any, editTable: boolean = false) => {
224224
isEditTable.value = false;
225225
if (item) {
226-
title.value = 'Edit Datasource'
226+
title.value = "Edit Datasource";
227227
isCreate.value = false;
228228
form.value.id = item.id;
229229
form.value.name = item.name;
@@ -245,7 +245,7 @@ const open = (item: any, editTable: boolean = false) => {
245245
}
246246
247247
if (editTable) {
248-
title.value = 'Choose Tables'
248+
title.value = "Choose Tables";
249249
active.value = 1;
250250
isEditTable.value = true;
251251
isCreate.value = false;
@@ -278,7 +278,7 @@ const open = (item: any, editTable: boolean = false) => {
278278
});
279279
}
280280
} else {
281-
title.value = 'Add Datasource'
281+
title.value = "Add Datasource";
282282
isCreate.value = true;
283283
isEditTable.value = false;
284284
checkList.value = [];

0 commit comments

Comments
 (0)