diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2020-11-03 10:06:19 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2020-11-03 10:06:19 +0900 |
| commit | 7a5a541a4ed2ecd607b9e4545bcd192bcf381f17 (patch) | |
| tree | b186afa14867656555bc85d3c8ed19a327153bf6 /src/client/os.ts | |
| parent | 12.52.0 (diff) | |
| download | sharkey-7a5a541a4ed2ecd607b9e4545bcd192bcf381f17.tar.gz sharkey-7a5a541a4ed2ecd607b9e4545bcd192bcf381f17.tar.bz2 sharkey-7a5a541a4ed2ecd607b9e4545bcd192bcf381f17.zip | |
相対パスでコピーされるのを修正
Diffstat (limited to 'src/client/os.ts')
| -rw-r--r-- | src/client/os.ts | 6 |
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'); |