mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-11-01 23:40:38 +00:00
默认加入主键
This commit is contained in:
parent
f69b9f802f
commit
8e9cc52831
@ -103,6 +103,9 @@ class Service extends Make
|
||||
$value[] = '';
|
||||
}
|
||||
$value[] = $options['modelName'] ?? $options['menus'] ?? $name;
|
||||
if (!empty($options['key'])) {
|
||||
array_push($select, $options['key']);
|
||||
}
|
||||
$value[] = implode(',', $select);
|
||||
if ($value && $var) {
|
||||
$contentAction = str_replace($var, $value, $contentAction);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user