Browse Source

[FIX] destroy vue instance

Gogs 7 years ago
parent
commit
73bdf673e7
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/index.js

+ 2 - 0
src/index.js

@@ -30,6 +30,8 @@ openerp.eiru_pos = (instance, local) => {
             $(this.vm.$el).remove()
             $(this.vm.$el).remove()
             this.vm = null
             this.vm = null
             instance.eiru_theme.instance.show()
             instance.eiru_theme.instance.show()
+
+            this._super.apply(this, arguments)
         }
         }
     })
     })