起步软件技术论坛
搜索
 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 4195|回复: 3

[处理中3] 切换界面报错,n.indexof is not a function

[复制链接]

1

主题

2

帖子

9

积分

新手上路

Rank: 1

积分
9
QQ
发表于 2018-11-26 13:46:26 | 显示全部楼层 |阅读模式
问题描述:打开第一个界面,再打开第二个界面,再切回第一个界面时所有操作都报n.indexof is not a function。重新打开界面操作没问题。求助解决方案。 微信图片_20181126134250.png

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
36185
发表于 2018-11-26 13:55:37 | 显示全部楼层
F12打开浏览器的开发人员调试工具看console中的详细错误信息

打开第一个界面,再打开第二个界面具体怎么打开?都是在左侧功能树中?
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



如按照该方法解决,请及时跟帖,便于版主结贴
回复 支持 反对

使用道具 举报

1

主题

2

帖子

9

积分

新手上路

Rank: 1

积分
9
QQ
 楼主| 发表于 2018-11-26 14:57:02 | 显示全部楼层
jishuang 发表于 2018-11-26 13:55
F12打开浏览器的开发人员调试工具看console中的详细错误信息

打开第一个界面,再打开第二个界面具体怎么打 ...

都是从左侧功能菜单点开的,麻烦帮看看怎么解决
错误信息.png




/x5/UI2/v_6290_nol_zh_CNs_desktopd_pc/portal/pc3/index.w?device=pc:114 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
(anonymous) @ VM27 index.w?device=pc:114
app.js:280 Error: the fixed layout requires the slimscroll plugin!
fixSidebar @ app.js:280
index.w?device=pc:1 This page includes a password or credit card input in a non-secure context. A warning has been added to the URL bar. For more information, see https://goo.gl/zmWq3m.
VM59:68 Uncaught TypeError: Cannot set property 'data' of null
    at mt (eval at <anonymous> (core.min.js:71), <anonymous>:68:16574)
    at Tn (eval at <anonymous> (core.min.js:71), <anonymous>:68:52889)
    at o.eval (eval at <anonymous> (core.min.js:71), <anonymous>:68:53229)
    at o.iterator (eval at <anonymous> (core.min.js:71), <anonymous>:68:48793)
    at o.eval (eval at <anonymous> (core.min.js:71), <anonymous>:68:53200)
    at Object.eval [as reload] (eval at <anonymous> (core.min.js:71), <anonymous>:68:50194)
    at n.reload (eval at <anonymous> (core.min.js:71), <anonymous>:68:108920)
    at n._eventHandles.__data_change__ (eval at <anonymous> (core.min.js:71), <anonymous>:68:106288)
    at n.fire (core.min.js:71)
    at n.fireEvent (core.min.js:71)
core.min.js:71 Uncaught TypeError: n.indexOf is not a function
    at HTMLBodyElement.window.onerror (core.min.js:71)
    at Object.trigger (core.min.js:71)
    at HTMLTableElement.<anonymous> (core.min.js:71)
    at Function.each (core.min.js:71)
    at h.fn.init.each (core.min.js:71)
    at h.fn.init.trigger (core.min.js:71)
    at mn (eval at <anonymous> (core.min.js:71), <anonymous>:68:36748)
    at cn (eval at <anonymous> (core.min.js:71), <anonymous>:68:35819)
    at Object.error (eval at <anonymous> (core.min.js:71), <anonymous>:68:16182)
    at f (core.min.js:71)
回复 支持 反对

使用道具 举报

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
36185
发表于 2018-11-26 15:28:59 | 显示全部楼层
平台默认带的功能这样操作有问题?

看错误应该是跟data有关
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



如按照该方法解决,请及时跟帖,便于版主结贴
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|X3技术论坛|Justep Inc.    

GMT+8, 2025-7-13 16:19 , Processed in 0.095547 second(s), 27 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表