feat(Design): 选择题支持单选和多选功能
- 修改 Choice 组件,支持单选和多选的渲染逻辑 - 新增 CheckboxAction 组件,用于多选题的排它项设置 - 更新 QuestionAction 组件,适配新的单选和多选逻辑 - 调整 Index 组件,支持单选和多选题的显示 - 修改 stores 中的 question_type 值,以区分单选和多选
This commit is contained in:
@@ -88,7 +88,7 @@ import { showConfirmDialog } from 'vant';
|
||||
import { ref } from 'vue';
|
||||
import { useCounterStore } from '@/stores/counter';
|
||||
import { storeToRefs } from 'pinia';
|
||||
import QuestionBefore from '@/views/Design/components/ActionCompoents/components/QuestionBefore.vue';
|
||||
import QuestionBefore from '@/views/Design/components/ActionCompoents/components/QuestionItemAction/QuestionBefore.vue';
|
||||
import { v4 as uuidv4 } from 'uuid';
|
||||
const store = useCounterStore();
|
||||
const { questionsInfo } = storeToRefs(store);
|
||||
|
||||
Reference in New Issue
Block a user