Explorar o código

Just return, no object

fergaldoyle %!s(int64=11) %!d(string=hai) anos
pai
achega
5f1bfbd4d6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/directives/repeat.js

+ 1 - 1
src/directives/repeat.js

@@ -684,7 +684,7 @@ module.exports = {
 function findPrevVm (vm, anchor, id) {
   var el = vm.$el.previousSibling
   if (!el) {
-      return {}
+      return
   }
   while (
     (!el.__vue__ || el.__vue__.$options._repeatId !== id) &&