xinelu-applet-ui/App.vue
2024-01-22 22:11:26 +08:00

34 lines
531 B
Vue

<script>
import {
mapMutations
} from "vuex";
export default {
onLaunch: function() {},
methods: {
...mapMutations(['socketOpenfalse']),
},
onShow: function() {},
onHide: function() {
this.socketOpenfalse();
uni.closeSocket();
clearInterval(this.$store.state.timeoutObj);
}
}
</script>
<style lang="scss">
@import "uview-ui/index.scss";
/*每个页面公共css */
page {
background-color: #F4F5F7;
}
.app {
width: 100%;
height: 100%;
text-align: justify;
color: #000000;
}
</style>