相対パスでコピーされるのを修正

This commit is contained in:
syuilo
2020-11-03 10:06:19 +09:00
parent 72b03e009c
commit 7a5a541a4e
5 changed files with 45 additions and 33 deletions

View File

@ -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);
},