* [task#126383,doing,0.2h] Add the style of placement to click.

This commit is contained in:
xieqiyu
2024-09-04 17:31:41 +08:00
committed by 王于听
parent 27488140b2
commit d236973028
3 changed files with 4 additions and 1 deletions
+2
View File
@@ -25,6 +25,8 @@ class buildModel extends model
*/
public function getByID(int $buildID, bool $setImgSize = false): object|false
{
if(common::isTutorialMode()) return $this->loadModel('tutorial')->getBuild();
$build = $this->dao->select('t1.*, t2.name as executionName, t3.name as productName, t3.type as productType')
->from(TABLE_BUILD)->alias('t1')
->leftJoin(TABLE_EXECUTION)->alias('t2')->on('t1.execution = t2.id')
+1 -1
View File
@@ -92,7 +92,7 @@ const stepPresenters =
},
click: function(step)
{
return highlightStepTarget((scope) => scope.$(step.target), step);
return highlightStepTarget((scope) => scope.$(step.target), step, {placement: 'bottom'});
},
clickNavbar: function(step)
{
+1
View File
@@ -610,6 +610,7 @@ class tutorialModel extends model
$build->deleted = 0;
$build->executionName = 'Test execution';
$build->productName = 'Test product';
$build->allBugs = '1';
return $build;
}