fix(compat): return value of vue compat set() (#9377)

According to https://v2.vuejs.org/v2/api/#Vue-set, Returns: the set value.
This commit is contained in:
Vít Stanislav 2023-10-19 14:58:59 +02:00 committed by GitHub
parent 8611874e09
commit e3c2d699f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -58,6 +58,7 @@ export interface LegacyPublicProperties {
export function installCompatInstanceProperties(map: PublicPropertiesMap) {
const set = (target: any, key: any, val: any) => {
target[key] = val
return target[key]
}
const del = (target: any, key: any) => {