小垒子
小垒子
  • 发布:2016-11-10 15:43
  • 更新:2016-11-10 15:43
  • 阅读:984

经测试打包应用在魅蓝max出现的BUG

分类:MUI

详细问题描述
[内容]
经测试打包应用在魅蓝max出现的BUG,页面在迅速重复操作跳转页面(使用的是mui.open.window)后返回上一级操作时,当打开的新页面带有百度折线图插件时(echarts)在快速进行以上操作时,返回上一级时会出现卡死情况,软件无法进行任何操作,只能手机后台强心关闭,相对直接用href跳转并不会出现以上问题。红米2时并不会出现以上问题。
重现步骤
[步骤]
页面跳转页面(使用的是mui.open.window)后返回上一级操作时,当打开的新页面带有百度折线图插件时(echarts)快速重复进行以上操作。
[结果]
返回上一级时会出现卡死情况,软件无法进行任何操作,只能手机后台强心关闭,相对直接用href跳转并不会出现以上问题。红米2时并不会出现以上问题。
[期望]
请完善此等情况。
运行环境
魅族flyme5.2.5.2A系统
[系统版本]
安卓6.0
[浏览器版本]
[IDE版本]
[mui版本]

附件
[代码片段]
$.ajax(config.url, {
data: {
data: sendJson
},
dataType: "json",
type: "POST",
timeout: 10000,
success: function(data) {
if(data.code == 1) {
var this_self = [0];
var this_self_name = [0];

                function business() {  
                    var myChart = echarts.init(dom);  
                    var app = {};  
                    option = null;  
                    option = {  
                        tooltip: {  
                            trigger: 'axis'  
                        },  
                        toolbox: {  
                            feature: {  
                                saveAsImage: {}  
                            }  
                        },  
                        grid: {  
                            left: '2%',  
                            right: '5%',  
                            bottom: '3%',  
                            containLabel: true  
                        },  
                        xAxis: [{  
                            type: 'category',  
                            boundaryGap: false,  
                            data: this_self_name  
                        }],  
                        yAxis: [{  
                            type: 'value'  
                        }],  
                        series: [{  
                            name: '经营情况',  
                            type: 'line',  
                            stack: '总量',  
                            label: {  
                                normal: {  
                                    show: true,  
                                    position: 'top'  
                                }  
                            },  
                            areaStyle: {  
                                normal: {}  
                            },  
                            data: this_self  
                        }]  
                    };  
                    if(option && typeof option === "object") {  
                        myChart.setOption(option, true);  
                    }  
                }  
                for(i = 1; i < 8; i++) {  
                    this_self.push(data.data.TutnoverInfo[i].TutnoverInfo.total_fee);  
                    this_self_name.push(data.data.TutnoverInfo[i].TutnoverInfo.exchangeTime);  
                }  
                business();  
                $(document).on("tap", ".business_top ul li", function() {  
                    $(".business_top ul li").attr("class", "");  
                    $(this).attr("class", "business_top_click");  
                    this_self = [0];  
                    this_self_name = [0];  
                    if($(this).index() == 0) {  
                        for(i = 1; i < 8; i++) {  
                            this_self.push(data.data.TutnoverInfo[i].TutnoverInfo.total_fee);  
                            this_self_name.push(data.data.TutnoverInfo[i].TutnoverInfo.exchangeTime);  
                        }  
                        $(".business_top_list").width("630px");  
                        business();  
                    } else {  
                        for(i = 1; i < 31; i++) {  
                            this_self.push(data.data.TutnoverInfo[i].TutnoverInfo.total_fee);  
                            this_self_name.push(data.data.TutnoverInfo[i].TutnoverInfo.exchangeTime);  
                        }  
                        $(".business_top_list").width("2600px");  
                        business();  
                    }  
                })  
            }  
        }  
    });  

[安装包]

联系方式
[QQ]
1823228253
[电话]
18322556826

2016-11-10 15:43 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复