提交 da80fc5d 编写于 作者: G Guillaume Chau

Merge branch 'dev' of github.com:vuejs/vue-devtools into dev

......@@ -546,7 +546,7 @@ export function has (object, path, parent = false) {
const sections = Array.isArray(path) ? path : path.split('.')
const size = !parent ? 1 : 2
while (sections.length > size) {
while (object && sections.length > size) {
object = object[sections.shift()]
}
return object != null && object.hasOwnProperty(sections[0])
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册