From 32993e12e37bcf8bf6a4a42d49c2820bc9a7d877 Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 19 Feb 2018 16:18:18 +0900 Subject: [PATCH] wip --- src/web/app/desktop/views/components/context-menu.vue | 6 +++++- src/web/app/desktop/views/components/index.ts | 6 +++--- src/web/app/desktop/views/components/settings-window.vue | 4 +--- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/src/web/app/desktop/views/components/context-menu.vue b/src/web/app/desktop/views/components/context-menu.vue index 9238b4246..3ba475e11 100644 --- a/src/web/app/desktop/views/components/context-menu.vue +++ b/src/web/app/desktop/views/components/context-menu.vue @@ -1,6 +1,6 @@ @@ -8,8 +8,12 @@ import Vue from 'vue'; import * as anime from 'animejs'; import contains from '../../../common/scripts/contains'; +import meNu from './context-menu-menu.vue'; export default Vue.extend({ + components: { + 'me-nu': meNu + }, props: ['x', 'y', 'menu'], mounted() { this.$nextTick(() => { diff --git a/src/web/app/desktop/views/components/index.ts b/src/web/app/desktop/views/components/index.ts index 1f28613d2..151ebf296 100644 --- a/src/web/app/desktop/views/components/index.ts +++ b/src/web/app/desktop/views/components/index.ts @@ -31,8 +31,8 @@ import drive from './drive.vue'; import driveFile from './drive-file.vue'; import driveFolder from './drive-folder.vue'; import driveNavFolder from './drive-nav-folder.vue'; -import contextMenuMenu from './context-menu-menu.vue'; import postDetail from './post-detail.vue'; +import settings from './settings.vue'; import wNav from './widgets/nav.vue'; import wCalendar from './widgets/calendar.vue'; import wPhotoStream from './widgets/photo-stream.vue'; @@ -73,8 +73,8 @@ Vue.component('mk-drive', drive); Vue.component('mk-drive-file', driveFile); Vue.component('mk-drive-folder', driveFolder); Vue.component('mk-drive-nav-folder', driveNavFolder); -Vue.component('context-menu-menu', contextMenuMenu); -Vue.component('post-detail', postDetail); +Vue.component('mk-post-detail', postDetail); +Vue.component('mk-settings', settings); Vue.component('mkw-nav', wNav); Vue.component('mkw-calendar', wCalendar); Vue.component('mkw-photo-stream', wPhotoStream); diff --git a/src/web/app/desktop/views/components/settings-window.vue b/src/web/app/desktop/views/components/settings-window.vue index 9b264da0f..c4e1d6a0a 100644 --- a/src/web/app/desktop/views/components/settings-window.vue +++ b/src/web/app/desktop/views/components/settings-window.vue @@ -1,9 +1,7 @@