mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-08 01:06:59 +08:00
fix: bug fix
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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'
|
||||
|
||||
@@ -17,8 +17,6 @@ defineProps({
|
||||
default: () => {},
|
||||
},
|
||||
})
|
||||
|
||||
const emits = defineEmits(['panelClick', 'smartClick'])
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
||||
@@ -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" />
|
||||
|
||||
@@ -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" />
|
||||
|
||||
@@ -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') +
|
||||
|
||||
Reference in New Issue
Block a user