fix: 修复活动题型选区多次点击重复触发 select 事件 (#155)

This commit is contained in:
alwayrun 2024-05-23 16:38:09 +08:00 committed by sudoooooo
parent 627eabd8b2
commit 24881d7cdc
2 changed files with 10 additions and 8 deletions

View File

@ -71,7 +71,6 @@ export default defineComponent({
}
})
const handleSelect = (index) => {
console.log('materialGroup-handleSelect', index)
emit('select', index)
}
const handleChange = (data) => {

View File

@ -88,8 +88,11 @@ const showCopy = computed(() => {
const clickFormItem = () => {
const index = props.qIndex
if (!props.isSelected) {
emit('select', index)
}
}
const onCopy = () => {
const index = props.qIndex
emit('changeSeq', { type: 'copy', index })
@ -196,7 +199,7 @@ const onMove = () => {}
.logic-text {
font-size: 12px;
color: #c8c9cd;
padding: 0 .4rem;
padding: 0 0.4rem;
line-height: 26px;
}
}