#
whycq
2023-08-03 9076ba45e8a66f149ff6f851614e9ed711660c69
#
1个文件已修改
1个文件已添加
35 ■■■■■ 已修改文件
Monitor-APP/pages.json 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Monitor-APP/pages/test/test.vue 25 ●●●●● 补丁 | 查看 | 原始文档 | 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>