Commit 23cead58 authored by 杨梦雅's avatar 杨梦雅

growFix

parent 2c3146e6
......@@ -67,7 +67,7 @@ export default class TaskService extends UserService {
title: string,
userInfo: IUserInfo,
activityInfo: IActivityInfo
): Promise<ITaskInfo> {
): Promise<Object> {
if (!activityInfo?.tasks?.[taskType]) {
console.error(`活动缺少${taskType}任务配置项`)
}
......@@ -86,7 +86,8 @@ export default class TaskService extends UserService {
}
return {
taskType,
key: taskType,
type: taskType,
title,
itemIds,
reward,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment