* Fix the bug of auto script when create testcase.

This commit is contained in:
xieqiyu
2024-02-18 11:27:10 +08:00
parent 584a9b3403
commit 9bf67dccd2
3 changed files with 7 additions and 13 deletions
-3
View File
@@ -29,9 +29,6 @@ formGridPanel
set::fields($fields),
set::loadUrl(helper::createLink('testcase', 'create', "productID={product}&branch={branch}&moduleID={module}")),
!empty($gobackLink) ? set::backUrl($gobackLink) : null,
on::change('#scriptFile', 'readScriptContent'),
on::change('#scriptFile', 'hideUploadScriptBtn'),
on::change('#story', 'changeStory'),
on::click('#auto', 'checkScript'),
on::click('.autoScript .file-delete', 'showUploadScriptBtn')
);