Skip to content

Commit e376821

Browse files
committed
return set value in Vue.set() (close #1970)
1 parent 0fcfb8e commit e376821

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/util/lang.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ export function set (obj, key, val) {
3333
vm._digest()
3434
}
3535
}
36+
return val
3637
}
3738

3839
/**

0 commit comments

Comments
 (0)