bugfix: sketch打开
This commit is contained in:
@@ -125,9 +125,10 @@
|
|||||||
import type { CustomAttrs } from '@crazydos/vue-markdown'
|
import type { CustomAttrs } from '@crazydos/vue-markdown'
|
||||||
import rehypeRaw from 'rehype-raw'
|
import rehypeRaw from 'rehype-raw'
|
||||||
import MyEvent from '@/utils/myEvent'
|
import MyEvent from '@/utils/myEvent'
|
||||||
import { useUserInfoStore } from '@/stores'
|
import { useUserInfoStore,useProjectStore } from '@/stores'
|
||||||
|
|
||||||
const userStore = useUserInfoStore()
|
const userStore = useUserInfoStore()
|
||||||
|
const projectStore = useProjectStore()
|
||||||
|
|
||||||
const { t, locale } = useI18n()
|
const { t, locale } = useI18n()
|
||||||
|
|
||||||
@@ -285,7 +286,7 @@
|
|||||||
// 点击显示来源
|
// 点击显示来源
|
||||||
}
|
}
|
||||||
const handleClickSketch = () => {
|
const handleClickSketch = () => {
|
||||||
MyEvent.emit('openSketch')
|
MyEvent.emit('openSketch',projectStore.state.id)
|
||||||
}
|
}
|
||||||
|
|
||||||
const showStop = ref(false)
|
const showStop = ref(false)
|
||||||
|
|||||||
Reference in New Issue
Block a user