1、增加字段类型
2、修复增加字段时的一处bug
This commit is contained in:
@@ -133,7 +133,7 @@ class Model extends \think\Model{
|
||||
public function getAttrGroupAttr($value, $data){
|
||||
$list = [];
|
||||
if ($data['attribute_group']) {
|
||||
$row = explode(PHP_EOL, $data['attribute_group']);
|
||||
$row = explode(";", $data['attribute_group']);
|
||||
foreach ($row as $r) {
|
||||
list($key, $label) = explode(":", $r);
|
||||
$list[$key] = ['key' => $key, 'label' => $label];
|
||||
|
||||
Reference in New Issue
Block a user