Commit eeaacc99b8f547239597dde6fbff395a63276b15
1 parent
066667dc4f
Exists in
master
auto commit the code by alias command
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
src/App.vue
1 | <script lang="ts"> | 1 | <script lang="ts"> |
2 | import Vue from 'vue'; | 2 | import Vue from 'vue'; |
3 | export default Vue.extend({ | 3 | export default Vue.extend({ |
4 | mpType: 'app', | 4 | mpType: 'app', |
5 | onLaunch() { | 5 | onLaunch() { |
6 | console.log('App Launch') | 6 | console.log('App Launch') |
7 | }, | 7 | }, |
8 | onShow() { | 8 | onShow() { |
9 | |||
9 | console.log('App Show') | 10 | console.log('App Show') |
10 | }, | 11 | }, |
11 | onHide() { | 12 | onHide() { |
12 | console.log('App Hide') | 13 | console.log('App Hide') |
13 | } | 14 | } |
14 | }); | 15 | }); |
15 | </script> | 16 | </script> |
16 | 17 | ||
17 | <style> | 18 | <style> |
18 | /*每个页面公共css */ | 19 | /*每个页面公共css */ |
19 | </style> | 20 | </style> |
20 | 21 |