+ Fix bug #48621, set default value to zero.

This commit is contained in:
liumengyi
2024-04-29 10:28:31 +08:00
parent 62f2d7f1cf
commit 43793b211e
+1
View File
@@ -21,6 +21,7 @@ window.addBranchesBox = function(e)
const $branchPicker = $('.switchBranch #branchBox .picker-box').zui('picker');
const $modulePicker = $('.switchBranch #moduleIdBox .picker-box').zui('picker');
const $planPicker = $('.switchBranch #planIdBox .picker-box').zui('picker');
$modulePicker.options.defaultValue = '0';
$('#storyNoticeBranch').removeClass('hidden');
if($("form [name^='branches']").length == $branchPicker.options.items.length) return false;