MCPcopy Index your code
hub / github.com/su-kaka/gcli2api / triggerTabDataLoad

Function triggerTabDataLoad

front/common.js:1036–1041  ·  view source on GitHub ↗
(tabName)

Source from the content-addressed store, hash-verified

1034
1035// 标签页数据加载(从动画中分离出来)
1036function triggerTabDataLoad(tabName) {
1037 if (tabName === 'manage') AppState.creds.refresh();
1038 if (tabName === 'antigravity-manage') AppState.antigravityCreds.refresh();
1039 if (tabName === 'config') loadConfig();
1040 if (tabName === 'logs') connectWebSocket();
1041}
1042
1043
1044// =====================================================================

Callers 1

switchTabFunction · 0.85

Calls 3

loadConfigFunction · 0.85
connectWebSocketFunction · 0.85
refreshMethod · 0.80

Tested by

no test coverage detected