mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-19 00:22:15 +00:00
solved issuis from Bulk Review v3,v4
This commit is contained in:
@@ -149,7 +149,7 @@ export default {
|
||||
}
|
||||
|
||||
if (!this.sortingAndPreview) {
|
||||
events.$emit('sortingAndPreview', false)
|
||||
events.$emit('unClick')
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -186,7 +186,8 @@ export default {
|
||||
this.$createFolder()
|
||||
},
|
||||
moveItem() {
|
||||
events.$emit('popup:open', { name: 'move', item: this.fileInfoDetail })
|
||||
if(this.fileInfoDetail.length > 0)
|
||||
events.$emit('popup:open', { name: 'move', item: this.fileInfoDetail })
|
||||
},
|
||||
shareItem() {
|
||||
if (this.fileInfoDetail[0]) {
|
||||
@@ -206,9 +207,13 @@ export default {
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
events.$on('sortingAndPreview', (state) => {
|
||||
this.sortingAndPreview = state
|
||||
})
|
||||
// events.$on('sortingAndPreview', (state) => {
|
||||
// this.sortingAndPreview = state
|
||||
// })
|
||||
|
||||
events.$on('unClick', () => {
|
||||
this.sortingAndPreview = false
|
||||
})
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user