This commit is contained in:
syuilo
2020-09-06 00:20:06 +09:00
parent e441ee9d8a
commit 4d68baca0d
17 changed files with 117 additions and 27 deletions

View File

@@ -80,7 +80,7 @@ export default defineComponent({
},
showFileMenu(file, ev: MouseEvent) {
if (this.menu) return;
this.menu = this.$root.menu({
this.menu = this.$store.dispatch('showMenu', {
items: [{
text: this.$t('renameFile'),
icon: faICursor,