fix: bug fix

This commit is contained in:
dataeaseShu
2025-07-24 18:30:53 +08:00
parent 1624a00841
commit d4e14c93d4
7 changed files with 6 additions and 8 deletions
+1 -1
View File
@@ -70,11 +70,11 @@ defineExpose({
<div class="params-form">
<el-form
ref="pwdRef"
@submit.prevent
:rules="rules"
label-position="top"
:model="pwdForm"
style="width: 100%"
@submit.prevent
>
<el-form-item prop="pwd" :label="t('user.upgrade_pwd.old_pwd')">
<el-input
+1 -1
View File
@@ -4,7 +4,7 @@ import icon_expand_down_filled from '@/assets/embedded/icon_expand-down_filled.s
import rename from '@/assets/svg/icon_rename_outlined.svg'
import delIcon from '@/assets/svg/icon_delete.svg'
import { type Chat, chatApi } from '@/api/chat.ts'
import { computed, nextTick, reactive, ref } from 'vue'
import { computed, reactive, ref } from 'vue'
import dayjs from 'dayjs'
import { getDate } from '@/utils/utils.ts'
import { groupBy } from 'lodash-es'
-2
View File
@@ -17,8 +17,6 @@ defineProps({
default: () => {},
},
})
const emits = defineEmits(['panelClick', 'smartClick'])
</script>
<template>
+1 -1
View File
@@ -26,12 +26,12 @@
<div v-show="active === 0" class="container">
<el-form
@submit.prevent
ref="dsFormRef"
:model="form"
label-position="top"
label-width="auto"
:rules="rules"
@submit.prevent
>
<el-form-item :label="t('ds.form.name')" prop="name">
<el-input v-model="form.name" />
+1 -1
View File
@@ -64,8 +64,8 @@
label-width="180px"
label-position="top"
class="sqlbot-form"
@submit.prevent
size="large"
@submit.prevent
>
<el-form-item label="Term name">
<el-input v-model="state.form.term" autocomplete="off" />
+1 -1
View File
@@ -252,7 +252,7 @@ const dsRules = {
message: t('datasource.please_enter') + t('common.empty') + t('user.workspace'),
trigger: 'change',
},
]
],
}
const urlRules = {
@@ -609,9 +609,9 @@ const columnRules = {
>
<el-form-item prop="name" :label="t('permission.rule_group_name')">
<el-input
v-model="currentPermission.name"
maxlength="50"
clearable
v-model="currentPermission.name"
:placeholder="
$t('datasource.please_enter') +
$t('common.empty') +