chore(reactivity): remove unnecessary RefImpl _shallow default value (#3895)
This commit is contained in:
parent
011dee8644
commit
960ef1691f
@ -56,7 +56,7 @@ class RefImpl<T> {
|
|||||||
|
|
||||||
public readonly __v_isRef = true
|
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)
|
this._value = _shallow ? _rawValue : convert(_rawValue)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user