Compare commits

..

5 Commits

Author SHA1 Message Date
youxingzhi
a67e39ce31 fix: 🐛 #62 2020-01-30 10:43:51 +08:00
youxingzhi
69ffc1da0f 1.4.3 2020-01-07 11:44:57 +08:00
ayou
31c9225441 Merge pull request #56 from ParadeTo/bugfix/style-including
bugfix: extracted css file
2020-01-07 11:44:07 +08:00
ayou
64c56af961 Merge pull request #57 from ParadeTo/feature/plugin-export
feat: plugin export
2020-01-07 11:43:46 +08:00
Binbin Sun
d8a5da1e0e feat: 🎸 extracted css file
Closes: #55
2020-01-07 10:59:06 +08:00
4 changed files with 8 additions and 4 deletions

2
package-lock.json generated
View File

@@ -1,6 +1,6 @@
{
"name": "vue-tree-list",
"version": "1.4.2",
"version": "1.4.3",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@@ -1,6 +1,6 @@
{
"name": "vue-tree-list",
"version": "1.4.2",
"version": "1.4.3",
"description": "A vue component for tree structure. Support adding treenode/leafnode, editing node's name and dragging.",
"author": "ayou",
"scripts": {

View File

@@ -332,8 +332,7 @@ export default {
return true
},
dragEnter() {
if (!compInOperation) return
if (this.model.isLeaf) return
if (compInOperation.model.id === this.model.id || !compInOperation || this.model.isLeaf) return
this.isDragEnterNode = true
},
dragLeave() {

5
vue.config.js Normal file
View File

@@ -0,0 +1,5 @@
module.exports = {
css: {
extract: false
}
};