fix: 修复存储加密变量不存在

This commit is contained in:
sudoooooo 2024-01-11 14:34:47 +08:00
parent 31ddefba16
commit d9e0bdfb9a

View File

@ -241,7 +241,7 @@ class SurveyService {
const listBody = surveySubmitDataList.map(submitedData => { const listBody = surveySubmitDataList.map(submitedData => {
const data = submitedData.data; const data = submitedData.data;
const secretKeys = submitedData.secretKeys; const secretKeys = submitedData.secretKeys || [];
const dataKeys = Object.keys(data); const dataKeys = Object.keys(data);
for (const itemKey of dataKeys) { for (const itemKey of dataKeys) {