From 7a5a541a4ed2ecd607b9e4545bcd192bcf381f17 Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 3 Nov 2020 10:06:19 +0900 Subject: 相対パスでコピーされるのを修正 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/client/ui/default.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/client/ui/default.vue') diff --git a/src/client/ui/default.vue b/src/client/ui/default.vue index 7127d8f12c..626e5242c5 100644 --- a/src/client/ui/default.vue +++ b/src/client/ui/default.vue @@ -216,21 +216,21 @@ export default defineComponent({ }, onContextmenu(e) { - const url = this.$route.path; + const path = this.$route.path; os.contextMenu([{ type: 'label', - text: url, + text: path, }, { icon: faColumns, text: this.$t('openInSideView'), action: () => { - this.$refs.side.navigate(url); + this.$refs.side.navigate(path); } }, { icon: faWindowMaximize, text: this.$t('openInWindow'), action: () => { - os.pageWindow(url); + os.pageWindow(path); } }], e); }, -- cgit v1.2.3-freya