Skip to content

Commit ffe2570

Browse files
committed
fix(site): fix
1 parent 8a3f4e0 commit ffe2570

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

examples/sites/src/tools/appData.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,6 @@ const appFn = {
2525
appData.theme = appData.theme === 'light' ? 'dark' : 'light'
2626
}
2727
}
28-
// // 减少页面处理
29-
// watchEffect(() => {
30-
// document.body.classList.remove('theme-light', 'theme-dark')
31-
// document.body.classList.add('theme-' + appData.theme)
32-
// })
3328
// 为了和tiny-vue共享同一个响应变量
3429
window.appData = appData
3530
export { appData, appFn, isZhCn }

0 commit comments

Comments
 (0)