mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-07 18:42:49 +08:00
fix: 修复视图范围类组件处理变量时没有兼容null值的问题
This commit is contained in:
@@ -385,7 +385,7 @@ class Cx extends Taglib
|
||||
|
||||
if ('$' == $flag || ':' == $flag) {
|
||||
$value = $this->autoBuildVar($value);
|
||||
$str = 'is_array(' . $value . ')?' . $value . ':explode(\',\',' . $value . ')';
|
||||
$str = 'is_array(' . $value . ')?' . $value . ':explode(\',\',format_null_value(' . $value . '))';
|
||||
} else {
|
||||
$value = '"' . $value . '"';
|
||||
$str = 'explode(\',\',' . $value . ')';
|
||||
|
||||
Reference in New Issue
Block a user