fix code style.

This commit is contained in:
xiawenlong
2021-10-19 19:04:30 +08:00
parent a184ef1ce3
commit 5db2b168de
5 changed files with 11 additions and 12 deletions
+1 -2
View File
@@ -259,7 +259,6 @@ class api extends control
->add('lib', $struct->lib)
->add('editedBy', $userId)
->add('editedDate', $now)
->json('attribute')
->get();
$changes = $this->api->updateStruct($structID, $data);
@@ -612,7 +611,7 @@ class api extends control
{
$this->loadModel('tree');
$childModules = $this->tree->getOptionMenu($libID, 'api');
$select = ($type == 'module') ? html::select('module', $childModules, '', "class='form-control chosen'") : html::select('parent', $childModules, '', "class='form-control chosen'");
$select = ($type == 'module') ? html::select('module', $childModules, '0', "class='form-control chosen'") : html::select('parent', $childModules, '0', "class='form-control chosen'");
die($select);
}