优化iOS签字问题
This commit is contained in:
@@ -21,8 +21,10 @@
|
||||
<button v-if="signatureContent" @click="openSignature" class="signature-reset-button"
|
||||
type="button">重新签名</button>
|
||||
</div>
|
||||
<van-popup v-model="showSignaturePanel" :close-on-click-overlay="false"
|
||||
:style="{ height: '100vh', width: '100vw' }" @close="handleSignaturePopupClose">
|
||||
<!-- 签字板挂载到 body,避免 iOS 将 fixed 子元素裁切在外层带 transform 的滚动 Popup 内。 -->
|
||||
<van-popup v-model="showSignaturePanel" class="signature-full-popup" get-container="body"
|
||||
:close-on-click-overlay="false" :style="{ height: '100%', width: '100%' }"
|
||||
@close="handleSignaturePopupClose">
|
||||
<signature @save="save"></signature>
|
||||
</van-popup>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user