From c25e12565ad5c737692f9af61ffd1f965f4491bd Mon Sep 17 00:00:00 2001 From: queenwuli <942534046@qq.com> Date: Thu, 24 Dec 2020 16:09:48 +0800 Subject: [PATCH] Merge branch 'master' of https://gitee.com/jyyforjava/hive-app into master --- hive-app/components/uni-popup/uni-popup.vue | 9 +++------ 1 files changed, 3 insertions(+), 6 deletions(-) diff --git a/hive-app/components/uni-popup/uni-popup.vue b/hive-app/components/uni-popup/uni-popup.vue index ae40d03..2d15d5f 100644 --- a/hive-app/components/uni-popup/uni-popup.vue +++ b/hive-app/components/uni-popup/uni-popup.vue @@ -1,6 +1,6 @@ <template> <view v-if="showPopup" class="uni-popup" :class="[popupstyle]" @touchmove.stop.prevent="clear"> - <uni-transition v-if="maskShow" class="uni-mask--hook" :mode-class="['fade']" :styles="maskClass" :duration="duration" :show="showTrans" + <uni-transition v-if="maskShow" :mode-class="['fade']" :styles="maskClass" :duration="duration" :show="showTrans" @click="onTap" /> <uni-transition :mode-class="ani" :styles="transClass" :duration="duration" :show="showTrans" @click="onTap"> <view class="uni-popup__wrapper-box" @click.stop="clear"> @@ -72,11 +72,8 @@ * 监听遮罩是否可点击 * @param {Object} val */ - maskClick: { - handler: function(val) { - this.mkclick = val - }, - immediate: true + maskClick(val) { + this.mkclick = val } }, data() { -- Gitblit v1.9.1