mirror of
https://github.com/crmeb/CRMEB.git
synced 2025-12-20 09:22:56 +00:00
修复组合数据编辑保存bug
This commit is contained in:
parent
ed351c31da
commit
dd13334923
@ -221,7 +221,7 @@ class SystemGroupData extends AuthController
|
||||
foreach ($params as $key => $param) {
|
||||
foreach ($Fields['fields'] as $index => $field) {
|
||||
if($key == $field["title"]){
|
||||
if($param == "" || count($param) == 0)
|
||||
if(!$param)
|
||||
return Json::fail($field["name"]."不能为空!");
|
||||
else{
|
||||
$value[$key]["type"] = $field["type"];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user