This website works better with JavaScript
Home
Explore
Help
Register
Sign In
vuejs
/
vue
mirror of
https://github.com/vuejs/vue.git
Watch
2
Star
0
Fork
0
Files
Issues
0
Wiki
Browse Source
return set value in Vue.set() (close
#1970
)
Evan You
10 years ago
parent
0fcfb8e976
commit
e3768217c8
1 changed files
with
1 additions
and
0 deletions
Split View
Show Diff Stats
1
0
src/util/lang.js
+ 1
- 0
src/util/lang.js
View File
@@ -33,6 +33,7 @@ export function set (obj, key, val) {
vm._digest()
}
}
+ return val
}
/**