mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-08 01:06:59 +08:00
fix(Dashboard):Fixed the issue of displaying incorrect chart types when adding them again after selecting the chart type on the dashboard (#349)
This commit is contained in:
@@ -80,10 +80,6 @@ const currentChat = ref<ChatInfo>(new ChatInfo())
|
||||
const chartInfoList = ref<Array<any>>([])
|
||||
const emits = defineEmits(['addChatChart'])
|
||||
|
||||
onMounted(() => {
|
||||
getChatList()
|
||||
})
|
||||
|
||||
function selectChange(value: boolean, viewInfo: any) {
|
||||
if (value) {
|
||||
// @ts-expect-error eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
@@ -200,7 +196,10 @@ function getChatList() {
|
||||
|
||||
const dialogInit = () => {
|
||||
dialogShow.value = true
|
||||
currentChatId.value = undefined
|
||||
state.curMultiplexingComponents = []
|
||||
chartInfoList.value = []
|
||||
getChatList()
|
||||
}
|
||||
|
||||
const saveMultiplexing = () => {
|
||||
|
||||
Reference in New Issue
Block a user