修复退菜未关闭
This commit is contained in:
parent
073baea2f9
commit
b9c916e226
|
|
@ -50,7 +50,7 @@
|
|||
<view class="u-p-t-18 u-p-l-30 u-p-r-30 u-p-b-10">
|
||||
<my-button box-shadow shape="circle" @tap="confirm">确认退菜</my-button>
|
||||
<view class="u-m-t-10">
|
||||
<my-button @tap="toggleModelShow" shape="circle" bgColor="#fff" type="cancel"
|
||||
<my-button @tap="onModelClose" shape="circle" bgColor="#fff" type="cancel"
|
||||
box-shadow>取消</my-button>
|
||||
</view>
|
||||
</view>
|
||||
|
|
@ -138,7 +138,8 @@
|
|||
function toggleModelShow(show) {
|
||||
modelShow.value = show ? true : false
|
||||
}
|
||||
|
||||
|
||||
|
||||
function onModelClose() {
|
||||
number.value=1
|
||||
modelShow.value = false
|
||||
|
|
|
|||
Loading…
Reference in New Issue