ERROR Error: ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: 'width: 93.7598541666%'. Current value: 'width: 93.7604513889%'.
at viewDebugError (core.js:17871)
at expressionChangedAfterItHasBeenCheckedError (core.js:1
我正在尝试制作一个AR应用程序,通过手机摄像头放置北、东、南和西标记。我想渲染一个具有透明背景的场景,它覆盖了手机摄像头的视频元素。
渲染器代码(scene.js):
var scene = new THREE.Scene(),
camera = new THREE.PerspectiveCamera(75, window.innerWidth / window.innerHeight, 0.1, 1000),
renderer = new THREE.WebGLRenderer({ alpha: true });
renderer.setClearColor( 0x0000
我正在测试我的代码,得到了一个错误。我需要按下一个按钮,然后转到下一页。
首先,我创建了Safay.js并编写了代码来设置这个页面中的初始路由。然后,我创建了buttonsubmit.js,以便当我按下按钮时,它将转到下一页,route.js。但是,在测试时,我会得到一个错误。我只是重新检查了我的代码,这可能是我输入的错误,或者可能是我不知道的事情。
这是我的错误:
ButtonSubmit.js文件中的错误:22
这是我的密码:
Safay.js
import index from './index.js';
import React, { Component, P
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Collecto UI</title>
<meta name="viewport" content="width=device-width, ini
HTML代码:
$('.alertme').click(function(){
alert('By selecting new image your old image will be remove');
$(this).removeClass('alertme');
});
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
#B