diff --git a/web/src/main/resources/static/js/jlw/student/index.js b/web/src/main/resources/static/js/jlw/student/index.js index 2179e1b7..9494b59e 100644 --- a/web/src/main/resources/static/js/jlw/student/index.js +++ b/web/src/main/resources/static/js/jlw/student/index.js @@ -42,10 +42,7 @@ layui.define([ 'form', 'laydate', 'table' ], function(exports) { title : '所属专业',align: "center", hide: isSignRole != 1 ? false : true, templet: function (d) { - if (d.schoolClass) { - return d.schoolClass.universitySystemIdText - } - return ""; + return d.schoolClass ? d.schoolClass.universitySystemIdText : "" } }, {