Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| a34c79fe0a |
@@ -429,13 +429,14 @@ async function batchAddMatches() {
|
||||
const lines = dataText.split('\n').filter(line => line.trim());
|
||||
let successCount = 0;
|
||||
let failCount = 0;
|
||||
let errors = [];\n
|
||||
let errors = [];
|
||||
for (const line of lines) {
|
||||
const parts = line.split(',').map(p => p.trim());
|
||||
|
||||
if (parts.length < 3) {
|
||||
failCount++;
|
||||
errors.push(`格式错误: ${line}`);n continue;
|
||||
errors.push(`格式错误: ${line}`);
|
||||
continue;
|
||||
}
|
||||
|
||||
const matchData = {
|
||||
|
||||
Reference in New Issue
Block a user