|
@@ -46,7 +46,7 @@ function AuditFlow(props) {
|
|
|
|
|
|
const getDesc = item => {
|
|
|
const { activityId } = item;
|
|
|
- if (!tasks || tasks.length == 0) return;
|
|
|
+ if (!tasks || tasks.length == 0) return '';
|
|
|
if (item.activityName == '抄送人') {
|
|
|
let names = cc_userids
|
|
|
.map(userId => {
|
|
@@ -121,7 +121,7 @@ function AuditFlow(props) {
|
|
|
|
|
|
const getDetail = async () => {
|
|
|
if (!deptId || !userId) {
|
|
|
- console.error('depId或userId不存在!');
|
|
|
+ console.log('depId或userId不存在!');
|
|
|
return;
|
|
|
}
|
|
|
if (!timerRef.current.status) {
|