File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -516,6 +516,7 @@ const Pow = new ComlinkWorker<typeof import('./pow')>(
516516)
517517
518518import useDark from ' ../../.vitepress/theme/use-dark'
519+ import { isParameter } from ' typescript'
519520
520521const model = defineModel <boolean >()
521522const isDark = useDark ()
@@ -735,6 +736,7 @@ function regenerate(index?: number) {
735736function poweredBy() {
736737 router .go (' /' )
737738 _isExpanded .value = false
739+ if (size .width .value < 640 ) model .value = false
738740}
739741
740742function scrollToMessage(index : number ) {
@@ -947,6 +949,7 @@ function reRouteLink(link: HTMLAnchorElement) {
947949
948950 router .go (src )
949951 _isExpanded .value = false
952+ if (size .width .value < 640 ) model .value = false
950953 })
951954}
952955
You can’t perform that action at this time.
0 commit comments