yimijianfang / vue-drag-verify

vue滑块验证组件,图片验证组件,图片旋转验证组件,滑动验证
https://yimijianfang.github.io/vue-drag-verify/#/
358 stars 98 forks source link

Cannot read properties of undefined (reading 'style') #15

Open wzc-ST opened 2 years ago

wzc-ST commented 2 years ago

vue-drag-verify-img-chip 成功后出现这个问题

` <el-dialog title="" :visible.sync="dialogVisible" width="400px" :close-on-click-modal="false" :close-on-press-escape="false" :show-close="false" custom-class="vueDragVerifyImgChipBox"

<VueDragVerifyImgChip v-if="dialogVisible" ref="vueDragVerifyImgChipRef" :imgsrc="localUrl" :isPassing.sync="isPassing" :showRefresh="true" :barWidth="40" :width="360" text="请按住滑块拖动" successText="验证通过" handlerIcon="el-icon-d-arrow-right" successIcon="el-icon-circle-check" @passcallback="passcallback"

`

报错index.js?157d:1 Uncaught TypeError: Cannot read properties of undefined (reading 'style') at eval (index.js?157d:1:1)