正确写法,把function定义的函数移出jquery的初始函数外
$(document).ready(function(){
})
function submitemailPopup(){
let str_name = $('#emailName').val();
let str_email = $('#emailText').val();
let is_gouxuan = $('#checkEmail').prop("checked");
if(subscribe.isEmail(str_email)){
subscribe._request(str_name,str_email,is_gouxuan);
}
}