一開始我把彈出框?qū)懺谡谡謱觾?nèi)部的時候 給遮罩層加@touchmove.prevent時間是生效的,但是遮罩層設(shè)了透明度,導(dǎo)致彈出框也有透明度。然后后改了下面的寫法,不生效。大家是如何解決的呢。<!--右側(cè)邊欄E--><div class="mask" id="mask" v-show="showMask" @click="maskEvent" @touchmove.prevent></div><!--登錄注冊S--><Login v-show="showLogin" @hideLogin="loginHide" @touchmove.prevent></Login>
vue中彈出遮罩層頁面禁止?jié)L動的問題
拉風(fēng)的咖菲貓
2019-03-15 11:18:21