修改bug

This commit is contained in:
zhouyanli
2026-08-26 14:10:23 +08:00
parent e1522e7792
commit c862c6ae4b
8 changed files with 24 additions and 14 deletions

View File

@@ -11,7 +11,11 @@
<view class="survey-title">{{ detailItem.title || '' }}</view>
<!-- 问卷说明 -->
<view class="survey-desc">{{ detailItem.description || '' }}</view>
<!-- <view class="survey-desc">{{ detailItem.description || '' }}</view> -->
<view class="survey-desc">
为了给您提供更好的服务希望您能抽出几分钟时间将最近的感受和建议告诉我们
我们十分重视每位用户的宝贵意见期待您的参与
</view>
<!-- 空状态 -->
<view v-if="questionList.length === 0" class="empty-tip">
@@ -168,7 +172,12 @@ onShow(() => {
})
const selectRadio = (cid, label) => {
answers.value[cid] = label
// 再次点击已选中的选项时取消选择
if (answers.value[cid] === label) {
delete answers.value[cid]
} else {
answers.value[cid] = label
}
}
const isChecked = (cid, label) => {