卸载组件取消监听

This commit is contained in:
xiangheng
2024-06-17 18:04:09 +08:00
parent 68b70c1000
commit eaff9c2759
2 changed files with 80 additions and 88 deletions

View File

@@ -1,5 +1,5 @@
<template>
<view :class="props.mode == 'pop' ? 'mask' : ''" v-show="showBox">
<view :class="props.mode == 'pop' ? 'mask' : ''" v-if="showBox">
<view
:class="props.mode == 'pop' ? 'verify-box' : ''"
:style="{ 'max-width': parseInt(props.imgSize.width) + 30 + 'px' }"