MCPcopy Create free account
hub / github.com/smallfawn/QLScriptPublic / taskSummary

Function taskSummary

wxapp/yichengtong.js:109–113  ·  view source on GitHub ↗
(list = [])

Source from the content-addressed store, hash-verified

107}
108
109function taskSummary(list = []) {
110 return list
111 .map((item) => `${item.name || item.title || item.id || "任务"} ${item.completeCount ?? 0}/${item.num ?? 1}`)
112 .join(";");
113}
114
115function taskName(task = {}) {
116 return task.name || task.title || `任务${task.id || task.configId || ""}`;

Callers 1

queryTaskHomeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected