Skip to content

Commit 8aa745f

Browse files
ssongliuxuwei-fit2cloud
authored andcommitted
fix: fix typos
1 parent fd5f5f0 commit 8aa745f

File tree

3 files changed

+16
-16
lines changed

3 files changed

+16
-16
lines changed

frontend/src/views/chat/ChatCreator.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const props = withDefaults(
2020
2121
const router = useRouter()
2222
const searchLoading = ref(false)
23-
const datasourceConfigvVisible = ref(false)
23+
const datasourceConfigVisible = ref(false)
2424
const keywords = ref('')
2525
const datasourceList = shallowRef([] as any[])
2626
const datasourceListWithSearch = computed(() => {
@@ -30,7 +30,7 @@ const datasourceListWithSearch = computed(() => {
3030
)
3131
})
3232
const beforeClose = () => {
33-
datasourceConfigvVisible.value = false
33+
datasourceConfigVisible.value = false
3434
keywords.value = ''
3535
}
3636
@@ -55,12 +55,12 @@ const statusLoading = ref(false)
5555
5656
function showDs() {
5757
listDs()
58-
datasourceConfigvVisible.value = true
58+
datasourceConfigVisible.value = true
5959
}
6060
6161
function hideDs() {
6262
innerDs.value = undefined
63-
datasourceConfigvVisible.value = false
63+
datasourceConfigVisible.value = false
6464
}
6565
6666
function selectDsInDialog(ds: any) {
@@ -126,7 +126,7 @@ defineExpose({
126126
<template>
127127
<div v-loading.body.fullscreen.lock="loading || statusLoading">
128128
<el-drawer
129-
v-model="datasourceConfigvVisible"
129+
v-model="datasourceConfigVisible"
130130
:close-on-click-modal="false"
131131
size="calc(100% - 100px)"
132132
modal-class="datasource-drawer-chat"

frontend/src/views/ds/Datasource.vue

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const router = useRouter()
3434
const { t } = useI18n()
3535
const keywords = ref('')
3636
const defaultDatasourceKeywords = ref('')
37-
const datasourceConfigvVisible = ref(false)
37+
const datasourceConfigVisible = ref(false)
3838
const editDatasource = ref(false)
3939
const activeStep = ref(0)
4040
const activeName = ref('')
@@ -55,7 +55,7 @@ const datasourceListWithSearch = computed(() => {
5555
)
5656
})
5757
const beforeClose = () => {
58-
datasourceConfigvVisible.value = false
58+
datasourceConfigVisible.value = false
5959
activeStep.value = 0
6060
datasourceApi.cancelRequests()
6161
}
@@ -92,7 +92,7 @@ const formatKeywords = (item: string) => {
9292
const currentType = ref('')
9393
const handleEditDatasource = (res: any) => {
9494
activeStep.value = 1
95-
datasourceConfigvVisible.value = true
95+
datasourceConfigVisible.value = true
9696
editDatasource.value = true
9797
currentType.value = res.type_name
9898
nextTick(() => {
@@ -138,14 +138,14 @@ const handleQuestion = async (id: string) => {
138138
139139
const handleAddDatasource = () => {
140140
editDatasource.value = false
141-
datasourceConfigvVisible.value = true
141+
datasourceConfigVisible.value = true
142142
}
143143
144144
const refresh = () => {
145145
activeName.value = ''
146146
activeStep.value = 0
147147
activeType.value = ''
148-
datasourceConfigvVisible.value = false
148+
datasourceConfigVisible.value = false
149149
search()
150150
}
151151
@@ -356,7 +356,7 @@ const back = () => {
356356
</div>
357357
</template>
358358
<el-drawer
359-
v-model="datasourceConfigvVisible"
359+
v-model="datasourceConfigVisible"
360360
:close-on-click-modal="false"
361361
size="calc(100% - 100px)"
362362
modal-class="datasource-drawer-fullscreen"

frontend/src/views/ds/ParamsForm.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ import DatasourceForm from './DatasourceForm.vue'
44
import icon_close_outlined from '@/assets/svg/operate/ope-close.svg'
55
66
const datasourceFormRef = ref()
7-
const datasourceConfigvVisible = ref(false)
7+
const datasourceConfigVisible = ref(false)
88
const beforeClose = () => {
9-
datasourceConfigvVisible.value = false
9+
datasourceConfigVisible.value = false
1010
}
1111
1212
const emit = defineEmits(['refresh'])
@@ -15,15 +15,15 @@ const refresh = () => {
1515
}
1616
const changeActiveStep = (val: any) => {
1717
if (val === 0) {
18-
datasourceConfigvVisible.value = false
18+
datasourceConfigVisible.value = false
1919
}
2020
}
2121
const save = () => {
2222
datasourceFormRef.value.tableListSave()
2323
}
2424
2525
const open = (item: any) => {
26-
datasourceConfigvVisible.value = true
26+
datasourceConfigVisible.value = true
2727
nextTick(() => {
2828
datasourceFormRef.value.initForm(item, true)
2929
})
@@ -36,7 +36,7 @@ defineExpose({
3636

3737
<template>
3838
<el-drawer
39-
v-model="datasourceConfigvVisible"
39+
v-model="datasourceConfigVisible"
4040
:close-on-click-modal="false"
4141
size="calc(100% - 100px)"
4242
modal-class="datasource-drawer-fullscreen"

0 commit comments

Comments
 (0)