This commit is contained in:
as2252258@163.com
2021-04-29 01:05:02 +08:00
parent 11b059fbcc
commit 62408b5041
+1 -1
View File
@@ -112,7 +112,7 @@ class Columns extends Component
*/
public function decode($val, $format = null): mixed
{
if (empty($format)) {
if (empty($format) || $val === null) {
return $val;
}
$format = strtolower($format);