用户导入国际化更新
This commit is contained in:
@@ -184,7 +184,7 @@ $('#btnImport').click(function(){
|
|||||||
file: layero.find('#file').val()
|
file: layero.find('#file').val()
|
||||||
};
|
};
|
||||||
if (form.file == '' || (!js.endWith(form.file, '.xls') && !js.endWith(form.file, '.xlsx'))){
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
js.ajaxSubmitForm(form.inputForm, function(data){
|
js.ajaxSubmitForm(form.inputForm, function(data){
|
||||||
|
|||||||
Reference in New Issue
Block a user