MCPcopy Create free account
hub / github.com/Tron521/codex-console-temp / getSelectedServiceIds

Function getSelectedServiceIds

static/js/app.js:260–263  ·  view source on GitHub ↗
(container)

Source from the content-addressed store, hash-verified

258
259// 获取自定义多选下拉中选中的服务 ID 列表
260function getSelectedServiceIds(container) {
261 if (!container) return [];
262 return Array.from(container.querySelectorAll('.msd-item input:checked')).map(cb => parseInt(cb.value));
263}
264
265// 事件监听
266function initEventListeners() {

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected