用户导入国际化更新

This commit is contained in:
thinkgem
2019-08-23 18:01:20 +08:00
parent 8c7fff1d14
commit 04fc25c51e

View File

@@ -184,7 +184,7 @@ $('#btnImport').click(function(){
file: layero.find('#file').val()
};
if (form.file == '' || (!js.endWith(form.file, '.xls') && !js.endWith(form.file, '.xlsx'))){
js.showMessage("${text('文件不正确,请选择后缀为 “xls”或“xlsx”的文件。')}", null, 'warning');
js.showMessage("${text('文件不正确请选择后缀为“xls”或“xlsx”的文件。')}", null, 'warning');
return false;
}
js.ajaxSubmitForm(form.inputForm, function(data){