* Fix workflow bug.

This commit is contained in:
孙广明
2022-04-20 10:17:16 +08:00
parent 54027e5ac1
commit 313e39712c
3 changed files with 19 additions and 5 deletions
+1 -1
View File
@@ -153,7 +153,7 @@ $(function()
var $select = $(this);
if($select.hasClass('picker-select')) $select.parent().find('.picker').remove();
if(index == 1) $select.find("option[value='ditto']").remove();
if(index > 1) $select.val('ditto');
if(index > 1 && $select.find('option[value="ditto"]').length > 0) $select.val('ditto');
if($select.attr('id').indexOf('branch') >= 0) $select.val('<?php echo $branch;?>')
$select.chosen();
setTimeout(function()