feat: 预览功能答题完成

- 预览组件功能完善
- 增加对应逻辑文件:
- 补全遗失字段
- 纠正 eslint 错误
This commit is contained in:
Huangzhe
2025-03-14 11:43:52 +08:00
parent c37b9aa3fc
commit 199c228fec
31 changed files with 2349 additions and 573 deletions

View File

@@ -21,14 +21,14 @@ const { element } = toRefs(props);
*/
const tableInputTypeMapping = (/** regx?: any */) => {
switch (element.value.question_type) {
case 8:
return 'text';
case 9:
return 'radio';
case 10:
return 'checkbox';
default:
return 'radio';
case 8:
return 'text';
case 9:
return 'radio';
case 10:
return 'checkbox';
default:
return 'radio';
}
};