更新台桌模块
This commit is contained in:
@@ -128,9 +128,12 @@
|
||||
|
||||
|
||||
function diancan() {
|
||||
const useType=props.status=='using'?props.data.useType:undefined
|
||||
go.to('PAGES_CREATE_ORDER', {
|
||||
tableId: props.data.tableId,
|
||||
name: props.data.name
|
||||
name: props.data.name,
|
||||
maxCapacity: props.data.maxCapacity,
|
||||
status: props.data.status,
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
@@ -106,6 +106,7 @@
|
||||
ref,
|
||||
reactive,
|
||||
computed,
|
||||
onBeforeUnmount,
|
||||
watch
|
||||
} from 'vue';
|
||||
const refMoreSheet = ref(null)
|
||||
@@ -376,7 +377,12 @@
|
||||
watch(() => times.active, (newval) => {
|
||||
setTimer()
|
||||
})
|
||||
onBeforeUnmount(()=>{
|
||||
console.log('table page onBeforeUnmount');
|
||||
clearInterval(timer)
|
||||
})
|
||||
onHide(() => {
|
||||
console.log('table page hide');
|
||||
clearInterval(timer)
|
||||
})
|
||||
onShow(opt => {
|
||||
|
||||
Reference in New Issue
Block a user