fix: refine market toolbar filters
This commit is contained in:
@@ -35,6 +35,10 @@ export function createBatchPayload(options: {
|
||||
throw new Error("batch submit batch name is required");
|
||||
}
|
||||
|
||||
if (options.records.length === 0) {
|
||||
throw new Error("当前没有可提交的达人");
|
||||
}
|
||||
|
||||
return {
|
||||
authors: options.records.map((record) => ({
|
||||
authorId: record.authorId,
|
||||
|
||||
Reference in New Issue
Block a user