Do something.

pull/9/head
ruibaby 2019-04-22 23:21:08 +08:00
parent 51f575f2fd
commit f3f54e0fa3
1 changed files with 6 additions and 0 deletions

View File

@ -9,6 +9,9 @@ export default {
}
},
methods: {
handlerSelectFile() {
this.$log.debug('加载文件')
},
renderNode(h, file) {
if (file.node && file.node.length) {
return h(
@ -30,6 +33,9 @@ export default {
key: file.path,
title: file.name,
isLeaf: file.isFile
},
nativeOn: {
click: this.handlerSelectFile
}
})
}