whychdw
2019-11-27 ec822682672928e65f91772cbf4e5b2d5181cd7f
关闭计时器
2个文件已修改
44 ■■■■ 已修改文件
platforms/android/app/src/main/assets/www/pages/main/main.js 22 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
www/pages/main/main.js 22 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
platforms/android/app/src/main/assets/www/pages/main/main.js
@@ -86,7 +86,7 @@
                    }
                },
                setBattDiscInfo: function setBattDiscInfo(res) {
                    console.log(res);
                    // console.log(res);
                    // 对数据进行处理
                    this.tbls.discharge.data = res.data;
                    // 统计个数
@@ -128,7 +128,7 @@
                    }
                },
                setBattCharInfo: function setBattCharInfo(res) {
                    console.log(res);
                    // console.log(res);
                    // 对数据进行处理
                    this.tbls.charge.data = res.data;
                    // 统计个数
@@ -144,16 +144,14 @@
                            url = route.url;
                        }
                    }
                    setTimeout(function () {
                        // 跳转
                        router.load({
                            url: url,
                            param: {
                                random: Math.random().toFixed(2)
                            },
                            reload: true
                        });
                    }, 100);
                    // 跳转
                    router.load({
                        url: url,
                        param: {
                            random: Math.random().toFixed(2)
                        },
                        reload: true
                    });
                }
            },
            mounted: function mounted() {
www/pages/main/main.js
@@ -86,7 +86,7 @@
                    }
                },
                setBattDiscInfo: function setBattDiscInfo(res) {
                    console.log(res);
                    // console.log(res);
                    // 对数据进行处理
                    this.tbls.discharge.data = res.data;
                    // 统计个数
@@ -128,7 +128,7 @@
                    }
                },
                setBattCharInfo: function setBattCharInfo(res) {
                    console.log(res);
                    // console.log(res);
                    // 对数据进行处理
                    this.tbls.charge.data = res.data;
                    // 统计个数
@@ -144,16 +144,14 @@
                            url = route.url;
                        }
                    }
                    setTimeout(function () {
                        // 跳转
                        router.load({
                            url: url,
                            param: {
                                random: Math.random().toFixed(2)
                            },
                            reload: true
                        });
                    }, 100);
                    // 跳转
                    router.load({
                        url: url,
                        param: {
                            random: Math.random().toFixed(2)
                        },
                        reload: true
                    });
                }
            },
            mounted: function mounted() {