修复退菜未关闭
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">
|
<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>
|
<my-button box-shadow shape="circle" @tap="confirm">确认退菜</my-button>
|
||||||
<view class="u-m-t-10">
|
<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>
|
box-shadow>取消</my-button>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
@ -139,6 +139,7 @@
|
||||||
modelShow.value = show ? true : false
|
modelShow.value = show ? true : false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function onModelClose() {
|
function onModelClose() {
|
||||||
number.value=1
|
number.value=1
|
||||||
modelShow.value = false
|
modelShow.value = false
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue