mirror of https://gitee.com/karson/fastadmin.git
CRUD生成admin表时,默认字段为nickname
parent
b0d295bd67
commit
16ae2acb2c
|
|
@ -920,6 +920,7 @@ class Crud extends Command
|
|||
$replace = '\'{"custom[type]":"' . $table . '"}\'';
|
||||
} elseif ($selectpageController == 'admin') {
|
||||
$attrArr['data-source'] = 'auth/admin/selectpage';
|
||||
$attrArr['data-field'] = 'nickname';
|
||||
} elseif ($selectpageController == 'user') {
|
||||
$attrArr['data-source'] = 'user/user/index';
|
||||
$attrArr['data-field'] = 'nickname';
|
||||
|
|
|
|||
Loading…
Reference in New Issue