jquery-weui icon indicating copy to clipboard operation
jquery-weui copied to clipboard

$.showLoading()、$.photoBrowser()、$.toast()等方法创建的dom隐藏后有残留

Open BS3385 opened this issue 6 years ago • 0 comments

  • 错误代码:$.showLoading()、$.photoBrowser()、$.toast()、$.hideLoading()
  • 运行环境:chrome 72
  • 期望结果,实际结果(最好有截图) 正常调用$.hideLoading(),会删除掉$.showLoading()创建的weui-toast weui_loading_toast,但是现在dom还存在,只是display置为none了,如果页面中有多个以上方法的调用,就会残留很多没用的dom,严重的会影响页面性能,尤其是使用react router写的单页面;

image

2017年有人提过issue #374 ,由于时间久远,问题还在,故新建issue;

BS3385 avatar Feb 20 '19 05:02 BS3385