feat: 修改问卷列表排序规则
This commit is contained in:
parent
0db05680bf
commit
14c768fdc6
@ -118,7 +118,7 @@ class SurveyService {
|
||||
owner: condition.userData.username
|
||||
}
|
||||
const data = await surveyMeta.find(cond)
|
||||
.sort({ updateDate: -1 })
|
||||
.sort({ createDate: -1 })
|
||||
.limit(condition.pageSize)
|
||||
.skip((condition.pageNum - 1) * condition.pageSize)
|
||||
.toArray()
|
||||
|
@ -79,7 +79,6 @@ export default {
|
||||
clientTime: Date.now(),
|
||||
};
|
||||
result.encryptType = 'base64';
|
||||
console.log(result.data)
|
||||
result.data = btoa(encodeURIComponent(result.data));
|
||||
return result;
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user