Commit 25829ed3 by zujiaozhang

'文本输入框输入页面不恢复修改遗漏题'

parent 773e663d
......@@ -38,6 +38,10 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) { 
// 处理方案
dataText: '',
init: function(){
// 解决键盘收起页面不恢复问题
$('textarea').on('blur',function(){
window.scroll(0,0);
});
// 判断是否为最后一题
var arrlist = discomfortGeneralPage.lastChecks.split(',')
discomfortGeneralPage.lastQuesitionId = arrlist[arrlist.length-1]
......
......@@ -45,6 +45,10 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) { 
// 描述方案
programme:'',
init: function(){
// 解决键盘收起页面不恢复问题
$('textarea').on('blur',function(){
window.scroll(0,0);
});
// 用户点击了无
$('.noHas').on('tap',function(){
targetedTherapy.flag=false
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment