fix: type instead of rawType

Co-authored-by: edison <daiwei521@126.com>
This commit is contained in:
Özer 2025-02-10 10:25:30 +03:00 committed by GitHub
parent 30d1f32b83
commit d9444e5523
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ function getTargetType(value: Target) {
if (value[ReactiveFlags.SKIP] || !Object.isExtensible(value)) {
return TargetType.INVALID
}
const rawType = toRawType(value)
const type = targetTypeMap(toRawType(value))
let type = targetTypeMap(rawType)
// If we got INVALID but the value is actually a plain object (even if its raw type was changed