chore: 🤖 add unit test

This commit is contained in:
Binbin Sun
2019-12-29 11:14:03 +08:00
parent 4b8bbcbfde
commit 146b61e70d
5 changed files with 2534 additions and 22 deletions

View File

@@ -94,9 +94,6 @@
let compInOperation = null
export default {
components: {
item: () => import('./VueTreeList')
},
data: function () {
return {
isHover: false,
@@ -155,6 +152,9 @@
}
}
},
beforeCreate () {
this.$options.components.item = require('./VueTreeList').default
},
mounted () {
const vm = this
addHandler(window, 'keyup', function (e) {