腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
1
回答
TypeError
:
无法
读取
IONIC
5中
null
的
属性
“”
canDeactivate
“”
ionic-framework
、
lazy-loading
、
ionic5
、
angular-route-guards
、
candeactivate
我
无法
在
Ionic
5中实现
canDeactivate
guard。以下是我
的
代码。model.ts export interface isDeactivatable {
canDeactivate
: () => Observable<boolean> | Promise<boolean我尝试在App Module和TestPage Module中添加LeavePageGuard作为提供者,但仍然收到相同
的
错误。core.js:6014 ERROR Err
浏览 22
提问于2020-04-14
得票数 3
回答已采纳
2
回答
TypeError
:
无法
读取
null
的
属性
“
canDeactivate
”
angular
、
angular-router
、
angular-router-guards
我正在尝试使用
canDeactivate
路由器守卫。我传入
的
组件(ClaimsViewComponent)在代码第一次运行时为空。但在随后
的
运行中,代码会按预期运行。我们试图弄清楚为什么组件在第一次运行时是空
的
。这是
canDeactivate
保护代码:export class ConfirmDeactivateGuard implements
canDeact
浏览 2
提问于2018-07-21
得票数 4
2
回答
为什么
CanDeactivate
保护程序不能
读取
组件中
的
方法?
angular
、
angular-router-guards
我懒洋洋地给我
的
路线装货。我试图按照文档使用
CanDeactivate
,但似乎保护程序
无法
读取
组件
的
属性
或方法。这是我
的
守卫export class CanDeactivateGuard implements
CanDeactivate
<PatientRegistrationFormComponent();} isChangesSaved()是组件内部
的
一个方法。:
TypeErr
浏览 0
提问于2018-08-20
得票数 2
回答已采纳
2
回答
"
TypeError
:
无法
读取
ionic
中
null
的
属性
'findall‘“
cordova
、
ionic2
嗨,我是离子
的
初学者。我已经创建了一个在浏览器中完美运行
的
示例项目。但当我想在ios模拟器中显示时,使用cli命令“ios cordova run ios -l -c”,它显示错误"
TypeError
: Cannot read property 'findall‘of
null
“。
浏览 20
提问于2017-08-30
得票数 1
回答已采纳
1
回答
Swiper +
Ionic
TypeError
:
无法
读取
属性
'nodeType‘
的
null
ionic-framework
、
swiper.js
如果我在两个不同
的
页面中向我
的
Ionic
应用程序中添加了多个刷卡容器,则会出现此错误。
浏览 4
提问于2015-12-15
得票数 1
回答已采纳
2
回答
Ionic
2中弹出式窗口
的
使用
cordova
、
ionic2
当我试图在单击按钮后显示一个弹出警报时,下面出现了以下错误: popups.js import {Pag
浏览 20
提问于2015-11-26
得票数 1
回答已采纳
1
回答
Google地图在
Ionic
2应用程序中不起作用
javascript
、
google-maps
、
typescript
、
ionic2
当我尝试在我
的
Ionic
2应用程序中加载google地图API时,我收到以下错误:下面是我
的</
浏览 16
提问于2017-07-12
得票数 1
1
回答
ionic
2 ..
TypeError
:
无法
读取
null
的
属性
“查询”
typescript
、
ionic-framework
、
angular
、
hybrid-mobile-app
、
ionic2
所以我是
IONIC
2
的
新手..。我只试过地狱世界,它成功了..。我以前有过Angular2和打字
的
经验,但以前没有离子方面的经验。我要做
的
是使用这个链接BarcodeScanner创建一个带有
Ionic
2
的
,但是每当我在浏览器上进行测试时,我都会在控制台中得到以下错误 EXCEPTION: Error: Uncaught (inpromise):
TypeError
: Cannot read property 'query' of
null<
浏览 1
提问于2016-05-22
得票数 4
回答已采纳
1
回答
角度2:使用
CanDeactivate
,但显示模式而不是window.confirm
angular
、
bootstrap-modal
、
rxjs
如何使用引导模式而不是确认模式来使用
CanDeactivate
?事实是:我如何返回一个可观察到
的
过程? this.openSaveChangeModal();}
canDeactivate
Observable((observer) => { observer.next(fa
浏览 4
提问于2016-12-19
得票数 5
回答已采纳
2
回答
TypeError
:
无法
读取
null
的
属性
“”
TypeError
“”:
无法
读取
null
的
属性
“”title“”
angular
、
typescript
解码令牌后,我
无法
获得标题和姓氏以在登录时显示它。它给了我错误"cannot read property title of
null
“。任何在这里输入代码的人都可以在这方面帮助我。console.log(decodedToken); } return
null
浏览 9
提问于2019-09-30
得票数 0
回答已采纳
1
回答
TypeError
:
无法
读取
null
angular
的
属性
“form”
javascript
、
angular
、
typescript
我在我
的
应用程序中实现了嵌套路由,所以我在嵌套组件中创建了嵌套路由模块,然后导入模块和声明组件 但出现错误:
无法
读取
null
的
属性
'form‘....我也导入了表单模块。然后我检查PendingChangesGuard.
canDeactivate
(can-deactivate.guard.ts:17) ? ?
浏览 10
提问于2019-04-06
得票数 0
1
回答
无法
读取
未定义
的
属性
“”querySelectorAll“”
javascript
、
ionic-framework
我在控制台未捕获
TypeError
时收到此错误:当我使用
ionic
从其他视图转到时,
无法
读取
未定义
ionic
.bundle.js:2800
的
属性
'querySelectorAll‘,但我不知道这是什么意思
浏览 6
提问于2018-10-01
得票数 1
回答已采纳
1
回答
ng-repeat、blurjs、jquery和angular
的
问题
javascript
、
angularjs
、
replace
、
angularjs-ng-repeat
、
ionic-framework
item-subtitlte-text"> </div> </div></ion-list>
TypeError
/js/
ionic
.bundle.js:14925:32) at compileNodes (http://localhost/Ejemplos/
浏览 1
提问于2014-06-16
得票数 0
1
回答
离子4-
无法
读取
未定义
的
TypeError
的
属性
:
无法
读取
未定义
的
属性
angular
、
sqlite
、
ionic-framework
、
electron
我
的
数据库不会被创建。当我看到我
的
控制台时,它会显示以下错误: 我安装了npm install @<e
浏览 2
提问于2019-01-19
得票数 2
1
回答
Ionic
-
无法
读取
null
的
属性
'findall‘
cordova
、
ionic-framework
每当我运行
ionic
cordova run android时,我都会收到这个错误。我会发布更多
的
东西,但我真的不知道从哪里开始解决这个问题,而且似乎没有太多关于这方面的谷歌帖子。这是一个小时前
的
工作,在此期间我更改了一个变量名。以前有没有人遇到过这种情况?
浏览 0
提问于2017-08-20
得票数 0
2
回答
使用cordova插件在
Ionic
中实现社交共享
angularjs
、
cordova
、
ionic-framework
我正在尝试在
ionic
中实现社交共享。我遵循了这个教程
TypeError
:
无法
读取
未定义
的
属性
“”socialsharing“”at Scope$scope.shareAnyWhere (shareController.js:10)at
ionic
浏览 1
提问于2015-05-22
得票数 0
1
回答
错误
TypeError
:
无法
读取
null
的
属性
'querySelectorAll‘,错误
TypeError
:
无法
读取
null
的
属性
'getElementsByTagName’
angular
、
angular10
to download }; 我正在尝试打印csv和xml
的
按钮点击,但它给了我以上
的
错误,我不知道为什么它告诉我喜欢this.can有人帮助我做这个 我使用
的
是angular 9 "ngx-export-as":"^1.5.0",
浏览 17
提问于2021-01-29
得票数 0
1
回答
无法
更新cordova angular中
的
插件
angular
、
cordova
、
ionic-framework
、
ionic4
、
ionic5
我正在做
ionic
/angular项目。我更新了所有的插件,现在我得到了错误错误 减号:
无法
读取
/Users/mac/
ionic
-demos/xyzproject/node_modules/@angular/compiler-cli/src/ngtsc/translator/src/translator.js:47:37处未定义
的
属性
“”
TypeErr
浏览 11
提问于2020-09-21
得票数 1
1
回答
添加两个数字,其中每个数字是在一个链表中
的
反向顺序。
javascript
、
algorithm
、
data-structures
、
linked-list
我能够得到正确
的
数字,但不能返回
的
答案作为一个反向链接列表。有人能帮我找到代码中
的
错误并完成最后一步吗? this.val = val; this.next =
null
浏览 2
提问于2019-03-29
得票数 1
回答已采纳
1
回答
TypeError
:
无法
读取
null
属性
(
读取
“密码”)
node.js
、
mongodb
、
express
res.send('User yet created') }}) 在这个简单登录和注册系统
的
代码中,我采用了在密码输入中输入
的
内容,并以将其插入DB
的
方式使用它。node:events:368 ^
TypeError
: Cannot read propert
浏览 7
提问于2022-07-06
得票数 0
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
一文看懂PHP 8的新特性
PHP8还有半年就要来了,来看看有哪些新特性
ECMAScript 2020 的新功能
为什么需要在JavaScript中使用严格模式?
一篇搞定前端高频手撕算法题(36道)
热门
标签
更多标签
云服务器
ICP备案
实时音视频
即时通信 IM
对象存储
活动推荐
运营活动
广告
关闭
领券