处理doingDay为null的问题
This commit is contained in:
@@ -187,7 +187,7 @@ export default {
|
||||
httpRequest('POST', url, {}, {}).then(function(res) {
|
||||
if (res.success && res.result && res.result.rankList) {
|
||||
if (this_.personnelType === "staff") {
|
||||
this_.doingDay = res.result.doingDay;
|
||||
this_.doingDay = res.result.doingDay === null ? '-' : res.result.doingDay;
|
||||
}
|
||||
|
||||
this_.list = res.result.rankList;
|
||||
|
||||
Reference in New Issue
Block a user