function cropUploadFail(status, field) {
            console.log('-------- upload fail --------');
            console.log(status);
            console.log('field: ' + field);
        }
/**
         * upload fail
         *
         * [param] status    server api return error status, like 500
         * [param] field
         */
upload fail
[param] status    server api return error status, like 500
[param] field
upload fail [ param ] status server api return error status like 500 [ param ] field
function cropUploadFail(status, field) {
            console.log('-------- upload fail --------');
            console.log(status);
            console.log('field: ' + field);
        }
function cropUploadFail ( status , field ) { console . log ( '-------- upload fail --------' ) ; console . log ( status ) ; console . log ( 'field: ' + field ) ; }
upload fail
 [param] status    server api return error status, like 500
 [param] field
upload fail [ param ] status server api return error status like 500 [ param ] field