使用示例代码:
<script>
2 export default {
3 data: {
4 title: 'Hello'
5 },
6 onLoad:function(options){
7 console.log("onLoad");
8 },
9 onHide:function(){
10 console.log("onHide");
11 },
12 onShow:function(){
13 console.log("onShow");
14 }
15 }
16 </script>