feat: 点击交易弹窗空白处关闭面板
This commit is contained in:
parent
e44b4bc0a6
commit
d873651c16
@ -148,8 +148,8 @@
|
|||||||
</view>
|
</view>
|
||||||
|
|
||||||
<!-- 交易表单弹窗 -->
|
<!-- 交易表单弹窗 -->
|
||||||
<view v-if="showTransactionForm" class="transaction-modal">
|
<view v-if="showTransactionForm" class="transaction-modal" @click="showTransactionForm = false">
|
||||||
<view class="modal-content">
|
<view class="modal-content" @click.stop>
|
||||||
<view class="modal-header">
|
<view class="modal-header">
|
||||||
<text class="modal-title">{{ transactionType === 'buy' ? '增加' : '减少' }}</text>
|
<text class="modal-title">{{ transactionType === 'buy' ? '增加' : '减少' }}</text>
|
||||||
<view class="close-btn" @click="showTransactionForm = false">
|
<view class="close-btn" @click="showTransactionForm = false">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user