|
@@ -52,6 +52,9 @@ const WCustomerService=({close})=>{
|
|
|
let url="mailto:"+email+"?subject=Mexico "+APP_CHANNEL.Channel+" gameid:"+gameID+"&body=problem:";
|
|
let url="mailto:"+email+"?subject=Mexico "+APP_CHANNEL.Channel+" gameid:"+gameID+"&body=problem:";
|
|
|
window.open(url,"_blank");
|
|
window.open(url,"_blank");
|
|
|
}
|
|
}
|
|
|
|
|
+ const onSubmitCB=(data)=>{
|
|
|
|
|
+ setLeaveMsg("");
|
|
|
|
|
+ }
|
|
|
const onSubmit=()=>{
|
|
const onSubmit=()=>{
|
|
|
if (leaveMsg==="")return;
|
|
if (leaveMsg==="")return;
|
|
|
if (status===REQ_STATUS.LOADING)return;
|
|
if (status===REQ_STATUS.LOADING)return;
|
|
@@ -60,6 +63,7 @@ const WCustomerService=({close})=>{
|
|
|
GameID:gameID,
|
|
GameID:gameID,
|
|
|
PackageName:APP_CHANNEL.PackageName
|
|
PackageName:APP_CHANNEL.PackageName
|
|
|
}
|
|
}
|
|
|
|
|
+ data.callback=onSubmitCB;
|
|
|
dispatch(reqCustomLeaveMsg(data));
|
|
dispatch(reqCustomLeaveMsg(data));
|
|
|
}
|
|
}
|
|
|
const renderTips=()=>{
|
|
const renderTips=()=>{
|