core: 支持联合排名

This commit is contained in:
undefined committed 2021-06-19 17:26:34 +08:00
1 parent c0e67917a2
commit f906178de3
5 files changed
+70 -42

No files matched your search

+1
View File
@@ -33,6 +33,7 @@ async function cli() {
const [, modelName, func, ...args] = argv.args as [string, string, string, ...any[]];
if (modelName === 'script') {
let arg: any;
console.log(args.join(' '));
try {
arg = JSON.parse(args.join(' '));
} catch (e) {