bugfix: sketch打开

This commit is contained in:
2026-04-02 17:23:22 +08:00
parent 73feaf52d9
commit 35515df5e5

View File

@@ -125,9 +125,10 @@
import type { CustomAttrs } from '@crazydos/vue-markdown'
import rehypeRaw from 'rehype-raw'
import MyEvent from '@/utils/myEvent'
import { useUserInfoStore } from '@/stores'
import { useUserInfoStore,useProjectStore } from '@/stores'
const userStore = useUserInfoStore()
const projectStore = useProjectStore()
const { t, locale } = useI18n()
@@ -285,7 +286,7 @@
// 点击显示来源
}
const handleClickSketch = () => {
MyEvent.emit('openSketch')
MyEvent.emit('openSketch',projectStore.state.id)
}
const showStop = ref(false)