更新台桌模块

This commit is contained in:
2024-09-28 15:08:06 +08:00
parent fd1acc8352
commit 5a7aaad0a4
2 changed files with 10 additions and 1 deletions

View File

@@ -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,
})
}

View File

@@ -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 => {