This commit is contained in:
sunguangming
2024-04-26 10:12:46 +08:00
parent 4348fd543a
commit c0aeb9f69d
+4 -2
View File
@@ -54,7 +54,9 @@ function toggleZeroTaskStory()
const $storyTd = $(this);
$.getJSON(getStoryLink, function(stories)
{
$storyTd.find('[name^=story]').zui('picker').render({items: stories});
const $storyPicker = $storyTd.find('[name^=story]').zui('picker');
$storyPicker.render({items: stories});
$storyPicker.$.setValue(0);
});
});
}
@@ -87,7 +89,7 @@ function setStoryRelated(event)
{
const storyInfo = data['storyInfo'];
$module.zui('picker').$.setValue(parseInt(storyInfo.moduleID));
$module.zui('picker').$.setValue(parseInt(storyInfo.moduleID), true);
$storyEstimate.val(storyInfo.estimate);
$storyPri.val(storyInfo.pri);
$storyDesc.val(storyInfo.spec);