Skip to content

Commit

Permalink
fix(plugin-baidu-tongji): 修复错误的在enhance中使用 composable api
Browse files Browse the repository at this point in the history
  • Loading branch information
pengzhanbo committed Feb 16, 2024
1 parent 7b44273 commit 040de83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/plugin-baidu-tongji/src/client/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { useBaiduTongji } from './composables/index.js'
declare const __VUEPRESS_SSR__: boolean

export default defineClientConfig({
enhance() {
setup() {
if (__VUEPRESS_SSR__)
return

Expand Down

0 comments on commit 040de83

Please sign in to comment.