chore(reactivity): remove unnecessary RefImpl _shallow default value (#3895)

This commit is contained in:
zhangenming 2021-06-08 21:58:02 +08:00 committed by GitHub
parent 011dee8644
commit 960ef1691f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,7 +56,7 @@ class RefImpl<T> {
public readonly __v_isRef = true
constructor(private _rawValue: T, public readonly _shallow = false) {
constructor(private _rawValue: T, public readonly _shallow: boolean) {
this._value = _shallow ? _rawValue : convert(_rawValue)
}