【报错】 loading.dismiss():Uncaught (in promise): removeView was not found
来源:互联网 发布:图片数字化软件 编辑:程序博客网 时间:2024/06/03 20:23
一、报错
在用Ionic做手机端的显示时,下拉刷新,可以正常刷新,刷新之后,报了一个这个错:
Uncaught (in promise): removeView was not found ;
1.首先,题目显示正常的页面:
2.点击下拉的时候,刷新正常;
3.刷新完毕之后,跳转错误页面:
在浏览器实验的手机端报错:
浏览器的console报错:
二、原因
出问题的原因就是:
你多写了一个:
loading.dismiss();
你把removeView关闭了,但是后面还有一个loading.dismiss();
第一个dismiss把removeView关了,第二个dismiss关闭什么呢?检查下你的代码,看看是不是哪里多写了一个dismiss(),多写了一个关闭view的代码;
阅读全文
0 0
- 【报错】 loading.dismiss():Uncaught (in promise): removeView was not found
- 安装win32com报错-Python Version 2.7 required which was not found in the registry 问题解决 .
- npm 安装 canvas报错:package cairo was not found in the pkg-config search path
- 安装cx_Oracle报错python version 3.4 required, which was not found in the registry
- Uncaught (in promise) TypeError: __webpack_require__.i(...) is not a function
- "make" not found in PATH报错
- MySQL 源码编译安装报错 Googlemock was not found
- POI操作ppt报错:Blank layout was not found
- 安装mysql-python时,报错 Python version 2.7 required, which was not found in the registry.
- umount /** was not found in /proc/mounts
- 报错null was not declared in this scope
- 解决Tomcat启动报错:The Apache Tomcat Native library which allows optimal performance in production environments was not found on the j
- Eclipse 报错:Error: Program "sh" not found in PATH
- Eclipse 报错:Error: Program "sh" not found in PATH
- Eclipse 报错:Error: Program "sh" not found in PATH
- as编译报错"Task '' not found in root project '***'."
- Eclipse 报错:Error: Program "sh" not found in PATH
- CakePHP运行报错The requested URL XX was not found on this server.
- markdown 字体语法
- 多平台一个微信公众号的openid授权获取
- [NOIP2017模拟]拆墙
- 待审核状态测试
- ovirt python sdk query execution failed due to insufficient permissions
- 【报错】 loading.dismiss():Uncaught (in promise): removeView was not found
- Oracle物化视图
- 数据库分区表
- WebView Android原生
- 正则表达式转DFA
- Android 6.0权限简单总结
- Mybatis Spring SpringMVC hibernate中设计模式的应用
- R语言中的概率论和数理统计
- java基础知识--循环,数组,方法