Commit 8f938ba64155da803062646414fa08dd92772e30

Authored by 刘宏哲
Committed by 权海
1 parent 30b32ed6

feat(app): update ui

@@ -42,7 +42,7 @@ export class WeChatLoginBridge extends WeChatHostApi implements WXApiEventHandle @@ -42,7 +42,7 @@ export class WeChatLoginBridge extends WeChatHostApi implements WXApiEventHandle
42 if (this.pendingResult !== null) { 42 if (this.pendingResult !== null) {
43 result.error(new FlutterError( 43 result.error(new FlutterError(
44 'wechat_authorization_in_progress', 44 'wechat_authorization_in_progress',
45 - 'WeChat authorization is already in progress.', 45 + '微信授权进行中',
46 'WeChatError', 46 'WeChatError',
47 )); 47 ));
48 return; 48 return;
@@ -50,7 +50,7 @@ export class WeChatLoginBridge extends WeChatHostApi implements WXApiEventHandle @@ -50,7 +50,7 @@ export class WeChatLoginBridge extends WeChatHostApi implements WXApiEventHandle
50 if (!this.wxApi.isWXAppInstalled()) { 50 if (!this.wxApi.isWXAppInstalled()) {
51 result.error(new FlutterError( 51 result.error(new FlutterError(
52 'wechat_not_installed', 52 'wechat_not_installed',
53 - 'WeChat is not installed.', 53 + '微信未安装',
54 'WeChatError', 54 'WeChatError',
55 )); 55 ));
56 return; 56 return;
@@ -91,7 +91,7 @@ export class WeChatLoginBridge extends WeChatHostApi implements WXApiEventHandle @@ -91,7 +91,7 @@ export class WeChatLoginBridge extends WeChatHostApi implements WXApiEventHandle
91 } 91 }
92 this.finishWithError( 92 this.finishWithError(
93 'wechat_authorization_cancelled', 93 'wechat_authorization_cancelled',
94 - 'WeChat authorization was cancelled.', 94 + '微信授权已取消',
95 ); 95 );
96 } 96 }
97 97