fix(plugin-baidu-tongji): 修复错误的在enhance中使用 composable api

This commit is contained in:
pengzhanbo 2024-02-17 00:57:56 +08:00
parent 7b44273121
commit 040de83f5b

View File

@ -5,7 +5,7 @@ import { useBaiduTongji } from './composables/index.js'
declare const __VUEPRESS_SSR__: boolean
export default defineClientConfig({
enhance() {
setup() {
if (__VUEPRESS_SSR__)
return