diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-12-02 15:26:56 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-12-02 15:26:56 +0900 |
| commit | bb14895fd8249247be0d89fe053b62be2dfdeabf (patch) | |
| tree | aa40b9ad7f54652ae79648e37ecd93c4008f8974 /src/client/app/init.ts | |
| parent | :art: (diff) | |
| download | sharkey-bb14895fd8249247be0d89fe053b62be2dfdeabf.tar.gz sharkey-bb14895fd8249247be0d89fe053b62be2dfdeabf.tar.bz2 sharkey-bb14895fd8249247be0d89fe053b62be2dfdeabf.zip | |
[Client] Resolve #2225
Diffstat (limited to 'src/client/app/init.ts')
| -rw-r--r-- | src/client/app/init.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/app/init.ts b/src/client/app/init.ts index 7a74311098..e0eef935f5 100644 --- a/src/client/app/init.ts +++ b/src/client/app/init.ts @@ -460,7 +460,7 @@ export default (callback: (launch: (router: VueRouter) => [Vue, MiOS]) => void, alert(opts) { return new Promise((res) => { const vm = this.new(Alert, opts); - vm.$once('ok', () => res(true)); + vm.$once('ok', result => res(result)); vm.$once('cancel', () => res(false)); }); } |