feat(survey): 优化问卷创建功能

- 新增保存设置功能
- 优化题目列表渲染逻辑
- 添加断点续答、IP限制等设置项
-修复部分组件样式问题
This commit is contained in:
陈昱达
2025-03-11 20:11:15 +08:00
parent 2c6f86bfc6
commit 4d34c293b8
8 changed files with 178 additions and 69 deletions

View File

@@ -46,7 +46,11 @@
</option-action>
</van-radio-group>
<van-checkbox-group v-if="element.question_type === 2" shape="square">
<option-action v-model:data="element.options[index]" :active="active" :question="element">
<option-action
v-model:data="element.options[optionIndex]"
:active="active"
:question="element"
>
<template #item="{ element: it, index: itIndex }">
<van-checkbox
:key="itIndex"