summaryrefslogtreecommitdiff
path: root/src/client/os.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2020-11-03 10:06:19 +0900
committersyuilo <syuilotan@yahoo.co.jp>2020-11-03 10:06:19 +0900
commit7a5a541a4ed2ecd607b9e4545bcd192bcf381f17 (patch)
treeb186afa14867656555bc85d3c8ed19a327153bf6 /src/client/os.ts
parent12.52.0 (diff)
downloadsharkey-7a5a541a4ed2ecd607b9e4545bcd192bcf381f17.tar.gz
sharkey-7a5a541a4ed2ecd607b9e4545bcd192bcf381f17.tar.bz2
sharkey-7a5a541a4ed2ecd607b9e4545bcd192bcf381f17.zip
相対パスでコピーされるのを修正
Diffstat (limited to 'src/client/os.ts')
-rw-r--r--src/client/os.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/os.ts b/src/client/os.ts
index 5f21cc39fb..dc0eb77485 100644
--- a/src/client/os.ts
+++ b/src/client/os.ts
@@ -177,10 +177,10 @@ export function popup(component: Component | typeof import('*.vue'), props: Reco
};
}
-export function pageWindow(url: string) {
- const { component, props } = resolve(url);
+export function pageWindow(path: string) {
+ const { component, props } = resolve(path);
popup(defineAsyncComponent(() => import('@/components/page-window.vue')), {
- initialUrl: url,
+ initialPath: path,
initialComponent: markRaw(component),
initialProps: props,
}, {}, 'closed');