|
在一个主页面,通过openWin 打开一个新的页面。这新的页面的输入的文字却跑到了打开前页面的UIchatBOx 输入框 里面了。这怎么回事?
//输入框高度变化事件,当窗口取消时,则取消赋值
UIChatBox.addEventListener({
target: 'inputBar',
name: 'move'
}, function(ret, err) {
if (ret) {
if (ret.panelHeight === 0) {
UIChatBox.setPlaceholder({
placeholder: ''
});
temp_assessee_name = "";
temp_assessee_id = "";
temp_title_id ="";
temp_title_user_id ="";
temp_title_user_name ="";
UIChatBox.hide();
UIChatBox.closeKeyboard();
}else{
UIChatBox.show();
UIChatBox.popupKeyboard();
}
} else {
alert(JSON.stringify(err));
}
}); |
|