大前端小王子
大前端小王子
  • 发布:2018-07-18 15:44
  • 更新:2018-07-18 15:44
  • 阅读:1137

关闭上一个页面,安卓系统闪退问题【报Bug】

分类:MUI

详细问题描述
[内容]
安卓系统
1.页面a.html,点击按钮进入页面b.html,并执行方法关闭a页面,

  1. 点击按钮进入c页面,点击c页面的输入框或者文本域,app闪退
    重现步骤
    [步骤]
    1.页面a.html,点击按钮进入页面b.html,并执行方法关闭a页面,
  2. 点击按钮进入c页面,点击c页面的输入框或者文本域,app闪退
    [结果]
    安卓系统,发生闪退
    [期望]
    目前ios系统不会方式该问题,希望IOS安卓系统不发生闪退

运行环境
[系统版本]安卓4.0
[浏览器版本]无
[IDE版本]HBuilder最新版本
[mui版本]最新

附件
[代码片段]
a.html

<input type="text"/>  
<img @tap="b" class="btn-wrapper" src="../../img/identification/jiand-button.png"/>

b.html

<img @tap="c" class="btn-wrapper" src="../../img/identification/jiand-button.png"/>

c.html

<input type="text"/>

public.js

a: function() {  
                    app.open({  
                        page:"a",  
                        styles:{  
                            titleNView:{  
                                titleText: "a"  
                            }  
                        }  
                    });   
            },  
            b: function() {   
                    app.open({  
                        page:"b",  
                        styles:{  
                            titleNView:{  
                                titleText: "a>b"  
                            }  
                        },  
                        showCallback:function(){  
                            var selfa = plus.webview.getWebviewById("a");  
                            if(selfa){  
                                console.log("a>b")  
                                selfa.hide();  
                                selfa.close('none');  
                            }  
                        }  
                });   
            },  
            c: function() {  
                    app.open({  
                        page:"c",  
                        styles:{  
                            titleNView:{  
                                titleText: "a>b>c"  
                            }  
                        }  
                    });   

            },

[安装包]无
联系方式
[QQ]844869020
[电话]18759959765

2018-07-18 15:44 负责人:无 分享
已邀请:

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