fix(ssr): only cache computed getters during render phase

fix #5300
This commit is contained in:
Evan You
2022-01-21 12:31:54 +08:00
parent 25bc6549eb
commit 2f91872e7b
6 changed files with 75 additions and 9 deletions

View File

@@ -19,7 +19,8 @@ import {
LooseRequired,
UnionToIntersection
} from '@vue/shared'
import { computed, isRef, Ref } from '@vue/reactivity'
import { isRef, Ref } from '@vue/reactivity'
import { computed } from './apiComputed'
import {
watch,
WatchOptions,