引入
ts
import { sendOpenSourceReport } from 't-comm';
// 不支持 tree-shaking 的项目
import { sendOpenSourceReport} from 't-comm/lib/open-source-report/index';
// 只支持 ESM 的项目
import { sendOpenSourceReport} from 't-comm/es/open-source-report/index';
sendOpenSourceReport(options)
描述:
请求开源治理数据并发送
参数:
参数名 | 描述 |
---|---|
options | 配置信息 |