We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
public function getProgress(array $task, array $columns) { if ($task['is_active'] == self::STATUS_CLOSED) { return 100; } return isset($task['progress']) && $task['progress'] ?: 0; }
发现TaskModel内部该方法写法异常导致 可以修改为 return isset($task['progress']) && $task['progress'] ? $task['progress']: 0; 或者 return $task['progress'] ?? 0;
The text was updated successfully, but these errors were encountered:
No branches or pull requests
发现TaskModel内部该方法写法异常导致
可以修改为
return isset($task['progress']) && $task['progress'] ? $task['progress']: 0;
或者
return $task['progress'] ?? 0;
The text was updated successfully, but these errors were encountered: