mirror of
https://github.com/dataease/dataease.git
synced 2026-05-15 05:22:13 +08:00
perf: 对接 SQLBot 问数记录逻辑错误
This commit is contained in:
committed by
fit2cloud-chenyw
parent
188665722f
commit
ec9227144d
@@ -9,6 +9,9 @@
|
||||
<script lang="ts" setup>
|
||||
import { onMounted, onUnmounted, reactive, ref } from 'vue'
|
||||
import request from '@/config/axios'
|
||||
import { useUserStoreWithOut } from '@/store/modules/user'
|
||||
|
||||
const userStore = useUserStoreWithOut()
|
||||
const loading = ref(true)
|
||||
const state = reactive({
|
||||
domain: '',
|
||||
@@ -69,7 +72,8 @@ const mountedEmbeddedPage = () => {
|
||||
if (window['sqlbot_embedded_handler']) {
|
||||
window['sqlbot_embedded_handler'].mounted('#dataease-v2-embedded-sqlbot', {
|
||||
embeddedId: state.id,
|
||||
online: true
|
||||
online: true,
|
||||
userFlag: userStore.getUid
|
||||
})
|
||||
loading.value = false
|
||||
sqlbotExist.value = true
|
||||
|
||||
Reference in New Issue
Block a user