Open xuepengdong opened 1 year ago
Click on the dragged area to drag it over. Dragging without clicking does not work. Could you please ask the author why?
<div v-if="questionInfo.eqType == 8" :style="'margin-top:20px;position: relative;height:'+questionInfo.eqOption.length*100+'px'" > <vue-draggable-resizable v-for="(eqOptionOne,eqOptionIndex) in questionInfo.eqOption" :key="eqOptionIndex" :x="questionInfo.cssSet.cssType==1?(eqOptionIndex%2)*400:0" :y="questionInfo.cssSet.cssType==1?parseInt(eqOptionIndex/2)*100:parseInt(eqOptionIndex)*100" :w="questionInfo.cssSet.cssType==1?400:600" :h='wtfH' :name="'drag_'+eqOptionIndex" @dragstop=" (left,top,that)=> onDragstop(left,top,that,eqOptionIndex)" :resizable="true" >
Click on the dragged area to drag it over. Dragging without clicking does not work. Could you please ask the author why?