Monitor-APP/pages.json | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
Monitor-APP/pages/test/test.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
Monitor-APP/pages.json
@@ -1,6 +1,16 @@ { "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages { "path": "pages/test/test", "style": { "navigationStyle": "custom", // 去掉顶部导航栏 "app-plus": { "titleNView": false } } }, { "path": "pages/home/home", "style": { "navigationStyle": "custom", Monitor-APP/pages/test/test.vue
New file @@ -0,0 +1,25 @@ <template> <view>1231</view> </template> <script> export default { data() { return { } }, onShow() { var i; setInterval(()=>{ console.log(i++); },1000) }, methods: { } } </script> <style> </style>