+ Add data-app attribute for devops.

This commit is contained in:
caoyanyi
2023-11-01 09:28:30 +08:00
parent ce24b2fe98
commit 1c089352a0
+4 -3
View File
@@ -648,9 +648,10 @@ class repoModel extends model
if($this->checkPriv($repo))
{
$repoItem = array();
$repoItem['id'] = $repo->id;
$repoItem['text'] = $repo->name;
$repoItem['keys'] = zget(common::convert2Pinyin(array($repo->name)), $repo->name, '');
$repoItem['id'] = $repo->id;
$repoItem['text'] = $repo->name;
$repoItem['keys'] = zget(common::convert2Pinyin(array($repo->name)), $repo->name, '');
$repoItem['data-app'] = $this->app->tab;
$repoProducts = explode(',', $repo->product);
$repoProducts = array_filter($repoProducts);