处理doingDay为null的问题

This commit is contained in:
17792275749
2025-06-09 10:28:06 +08:00
parent 9df8b7e8e2
commit eff7e189aa
@@ -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;