bump: 3.4.1

This commit is contained in:
qingwei.li 2017-03-10 12:02:23 +08:00
commit 5f07d5a9f3
7 changed files with 10 additions and 7 deletions

View file

@ -161,6 +161,9 @@ function getNode (el, noCache) {
if ( noCache === void 0 ) noCache = false;
if (typeof el === 'string') {
if (typeof window.Vue !== 'undefined') {
return find(el)
}
el = noCache ? find(el) : (cacheNode[el] || (cacheNode[el] = find(el)));
}