File tree Expand file tree Collapse file tree 6 files changed +10
-7
lines changed
Expand file tree Collapse file tree 6 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ const props = withDefaults(
1010 loading? : boolean
1111 }>(),
1212 {
13+ currentChatId: undefined ,
1314 chatList : () => [],
1415 loading: false ,
1516 }
Original file line number Diff line number Diff line change @@ -11,7 +11,9 @@ const props = withDefaults(
1111 currentChat: ChatInfo
1212 datasource? : number
1313 }>(),
14- {}
14+ {
15+ datasource: undefined ,
16+ }
1517)
1618
1719const emits = defineEmits ([' update:datasource' ])
Original file line number Diff line number Diff line change @@ -12,7 +12,9 @@ const props = withDefaults(
1212 modelValue? : number
1313 currentChat: ChatInfo
1414 }>(),
15- {}
15+ {
16+ modelValue: undefined ,
17+ }
1618)
1719
1820const dsList = ref <Array <any >>([])
Original file line number Diff line number Diff line change 77 class =" sqlbot-search"
88 placeholder =" Search"
99 prefix-icon =" el-icon-search"
10- @keyup.enter.native =" handleSearch"
10+ @keyup.enter =" handleSearch"
1111 >
1212 <template #prefix >
1313 <el-icon class =" el-input__icon" ><search /></el-icon >
@@ -96,7 +96,6 @@ import IconOpeDownload from '@/assets/svg/operate/ope-download.svg'
9696import IconOpeAdd from ' @/assets/svg/operate/ope-add.svg'
9797import IconOpeEdit from ' @/assets/svg/operate/ope-edit.svg'
9898import IconOpeDelete from ' @/assets/svg/operate/ope-delete.svg'
99- import { Search } from ' @element-plus/icons-vue'
10099import { termApi } from ' @/api/setting'
101100const keyword = ref (' ' )
102101const dialogFormVisible = ref (false )
Original file line number Diff line number Diff line change 66 v-model =" keyword"
77 class =" sqlbot-search"
88 placeholder =" Search"
9- @keyup.enter.native =" handleSearch"
9+ @keyup.enter =" handleSearch"
1010 >
1111 <template #prefix >
1212 <el-icon class =" el-input__icon" ><IconSearch /></el-icon >
Original file line number Diff line number Diff line change 77 class =" sqlbot-search"
88 placeholder =" Search"
99 prefix-icon =" el-icon-search"
10- @keyup.enter.native =" handleSearch"
10+ @keyup.enter =" handleSearch"
1111 >
1212 <template #prefix >
1313 <el-icon class =" el-input__icon" ><search /></el-icon >
@@ -127,7 +127,6 @@ import IconOpeAdd from '@/assets/svg/operate/ope-add.svg'; */
127127import { SuccessFilled , CircleCloseFilled } from ' @element-plus/icons-vue'
128128import IconOpeEdit from ' @/assets/svg/operate/ope-edit.svg'
129129import IconOpeDelete from ' @/assets/svg/operate/ope-delete.svg'
130- import { Search } from ' @element-plus/icons-vue'
131130import { userApi } from ' @/api/auth'
132131import { formatTimestamp } from ' @/utils/date'
133132
You can’t perform that action at this time.
0 commit comments