This commit is contained in:
liyuchun
2021-10-19 19:17:15 +08:00
parent fe9e1ac81e
commit a2b3fe0ff1
+5 -3
View File
@@ -1,9 +1,11 @@
function loadDocModule(libID)
{
var link = createLink('api', 'ajaxGetChild', 'libID=' + libID + '&type=parent');
var link = createLink('api', 'ajaxGetChild', 'libID=' + libID + '&type=module');
$.post(link, function(data)
{
$('#module').empty().append($(data).children()).trigger('chosen:updated');
$('#module').replaceWith(data);
$('#module_chosen').remove();
$('#module').chosen();
});
}
/**
@@ -426,7 +428,7 @@ try {
<param-field :value.sync="item" @add="add(current, $event)" @del="del(current, key)" @sub="addSub(current, key, $event)"></param-field>
</template>
</tbody>
</table>
</table>
</div>
`
});