From bb14895fd8249247be0d89fe053b62be2dfdeabf Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 2 Dec 2018 15:26:56 +0900 Subject: [Client] Resolve #2225 --- src/client/app/init.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/app/init.ts') 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)); }); } -- cgit v1.2.3-freya