我创建了一个示例index.html文件,其中包含最新的jquery(3.1.0)和jquery mobile(1.4.5).
在加载页面上,错误控制台输出:
jquery.mobile-1.4.5.js:3337 Uncaught TypeError: Cannot read property 'concat' of undefined
在这条线上:
mouseEventProps = $.event.props.concat( mouseHookProps ),
当我尝试包含jquery-1.11.2时没有问题.谁能告诉我为什么?提前致谢.
我正在cordova cli 6.3.1中的IOS和android中创建一个应用程序。
我没有在IOS中显示应用程序图标,但是在android中工作正常。
这是我的配置
我的APP我的APP
<content src="index.html" />
<plugin name="cordova-plugin-splashscreen" spec="4.0.0" />
<plugin name="cordova-plugin-network-information" spec="1.3.0" />
<plugin name="cordova-plugin-dialogs" spec="1.3.0" />
<plugin name="cordova-plugin-device" spec="1.1.3" />
<plugin name="cordova-plugin-statusbar" spec="2.2.0" />
<plugin name="cordova-plugin-whitelist" spec="1" />
<preference name="DisallowOverscroll" value="true" />
<preference name="SplashScreenDelay" value="5000" />
<preference name="StatusBarOverlaysWebView" value="true" />
<preference name="backgroundColor" value="#c72678" />
<preference name="ShowSplashScreenSpinner" value="false"/>
<preference name="prerendered-icon" value="false" />
<preference name="orientation" value="portrait" />
<preference name="fullscreen" value="false" />
<preference name="target-device" value="universal" />
<preference name="deployment-target" value="6.1" />
<access origin="*" />
<allow-intent href="http://*/*" />
<allow-intent href="https://*/*" …Run Code Online (Sandbox Code Playgroud)