mand-mobile
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -6,2 +6,5 @@ --- | ||
<!-- CUTOFF --> | ||
### 1.0.5 | ||
`2018-04-18` | ||
- 修复issue#24 | ||
### 1.0.4 | ||
@@ -8,0 +11,0 @@ `2018-04-12` |
@@ -26,3 +26,2 @@ import Vue from 'vue' | ||
vm.$destroy() | ||
document.body.removeChild(vm.$el) | ||
}) | ||
@@ -29,0 +28,0 @@ |
@@ -128,2 +128,7 @@ ;(function(){ | ||
}, | ||
beforeDestroy: function beforeDestroy() { | ||
if (this.appendTo && !this.isView) { | ||
this.appendTo.removeChild(this.$el); | ||
} | ||
}, | ||
@@ -130,0 +135,0 @@ |
@@ -116,3 +116,3 @@ ;(function(){ | ||
if (this.closable) { | ||
document.addEventListener('click', this.$_handleOutClick); | ||
document.removeEventListener('click', this.$_handleOutClick); | ||
} | ||
@@ -122,2 +122,5 @@ if (this.focused) { | ||
} | ||
if (!this.system && !this.isView) { | ||
document.body.removeChild(this.$refs.keyboard.$el); | ||
} | ||
}, | ||
@@ -124,0 +127,0 @@ |
@@ -116,2 +116,7 @@ ;(function(){ | ||
}, | ||
beforeDestroy: function beforeDestroy() { | ||
if (this.appendTo) { | ||
this.appendTo.removeChild(this.$el); | ||
} | ||
}, | ||
@@ -118,0 +123,0 @@ |
@@ -64,3 +64,2 @@ (function (global, factory) { | ||
vm.$destroy(); | ||
document.body.removeChild(vm.$el); | ||
}); | ||
@@ -67,0 +66,0 @@ |
@@ -91,3 +91,3 @@ ;(function(){ | ||
return { | ||
activeIndex: 0 | ||
activeIndex: this.defaultIndex | ||
}; | ||
@@ -94,0 +94,0 @@ }, |
{ | ||
"name": "mand-mobile", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "A Vue.js 2.0 Mobile UI Toolkit", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/didi/mand-mobile", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
1589083
22159