fix 上传文件协议前端限制

master
todking 5 years ago
parent cf7e8cbcaa
commit a408b55326

@ -3739,7 +3739,7 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter
$scope.uploadAgreementFile = function (file) {
if (file != null) {
if (file.size > 10 * 1024 * 1024) {
commonDialog.alert({title: 'Error', content: '文件大小不能超过5MB请压缩后重试', type: 'error'})
commonDialog.alert({title: 'Error', content: '文件大小不能超过10MB请压缩后重试', type: 'error'})
} else {
$scope.agreementFileProgress = {value: 0};
Upload.upload({

Loading…
Cancel
Save