fix: 修复智能生成问卷 iframe 适配问题
- 更新 iframe src 属性的拼接方式,使用 encodeURIComponent 对 token 进行编码 - 移除 encodeURI 函数的使用,直接使用拼接好的 url
This commit is contained in:
@@ -105,7 +105,6 @@ function clearSurveys() {
|
||||
async function validateSurvey(survey: SurveyItem): Promise<boolean> {
|
||||
const { data } = await getQuestionList(survey.sn);
|
||||
const questions = data.data.questions;
|
||||
return
|
||||
return questions.every((question: any) => {
|
||||
if (!questionTypeMap.has(question.question_type)) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user