emis-app/components/tpx-page/tpx-page.vue
2024-08-02 11:30:24 +08:00

55 lines
688 B
Vue

<template>
<view @click="handleClick" style="height: 100%;">
<slot></slot>
</view>
</template>
<script>
import { pageEventNames } from "@/common/enum"
export default {
props: {
},
data() {
return {
}
},
created() {
},
onHide() {
},
unmounted() {},
methods: {
handleClick() {
uni.$emit(pageEventNames.globalClick)
}
}
}
</script>
<script module="VConsole" lang="renderjs">
import { initVConsole } from "./renderVConsole"
export default {
data() {
return {
}
},
mounted() {
this.showVConsole()
},
methods: {
showVConsole(){
initVConsole()
}
}
}
</script>
<style scoped lang="scss">
</style>