|
|
|
@ -103,6 +103,8 @@ |
|
|
|
|
marketNote: '提示', |
|
|
|
|
yes: '确认', |
|
|
|
|
no: '取消', |
|
|
|
|
applySuccess: '申请成功!', |
|
|
|
|
cancelSuccess: '取消成功!', |
|
|
|
|
}, |
|
|
|
|
zh_HK: { |
|
|
|
|
title: '商家管理', |
|
|
|
@ -125,6 +127,8 @@ |
|
|
|
|
marketNote: '提示', |
|
|
|
|
yes: '確認', |
|
|
|
|
no: '取消', |
|
|
|
|
applySuccess: '申請成功!', |
|
|
|
|
cancelSuccess: '取消成功!', |
|
|
|
|
}, |
|
|
|
|
en_US: { |
|
|
|
|
title: 'Merchant Management', |
|
|
|
@ -147,6 +151,8 @@ |
|
|
|
|
marketNote: 'Prompt', |
|
|
|
|
yes: 'Confirm', |
|
|
|
|
no: 'Cancel', |
|
|
|
|
applySuccess: 'Application approved!', |
|
|
|
|
cancelSuccess: 'Cancel the success!', |
|
|
|
|
} |
|
|
|
|
}; |
|
|
|
|
//2、页面上所有需要国际化的文字,包括提示,都通过Vue去引用,例子: |
|
|
|
@ -247,7 +253,7 @@ |
|
|
|
|
if(data.code == 200) { |
|
|
|
|
dataInfo.bgStatus = false; |
|
|
|
|
dataInfo.popover_Status = false; |
|
|
|
|
mui.toast(dataInfo.langue.handleSuccess); |
|
|
|
|
mui.toast(dataInfo.langue.applySuccess); |
|
|
|
|
mui.back(); |
|
|
|
|
} else if(data.code == 201) { |
|
|
|
|
//未登录,跳转登录页面 |
|
|
|
@ -282,7 +288,7 @@ |
|
|
|
|
success: function(data) { |
|
|
|
|
plus.nativeUI.closeWaiting(); |
|
|
|
|
if(data.code == 200) { |
|
|
|
|
mui.toast(dataInfo.langue.handleSuccess); |
|
|
|
|
mui.toast(dataInfo.langue.cancelSuccess); |
|
|
|
|
mui.back(); |
|
|
|
|
} else if(data.code == 201) { |
|
|
|
|
//未登录,跳转登录页面 |
|
|
|
|