uView使用u-textarea报警告 Invalid prop: custom validator check failed for prop “confirmType“. 在使用u-textarea时一直报以上的警告,解决办法在标签中加。
Cesium.Geometry.Plane.createPlaneGeometry的用法 这段代码将创建一个绿色的裁剪平面,并将其添加到场景中。用户可以通过修改裁剪平面的origin、normal、width和height参数来改变裁剪平面的位置和大小,从而实现管网剖面分析的功能。
使用scroll-view 解决报错,Ignored attempt to cancel a touchmove event with cancelable=false 使用scroll-view 解决报错,Ignored attempt to cancel a touchmove event with cancelable=false
TS——类 /有参构造constructor(arg) {//不写会有一个空的constructor调用}say() { //say是对象的方法console.log("say被调用了");}}// new创建对象的时候,会自动调用构造函数p1.say();//调用say方法//无参构造constructor() {//不写会有一个空的constructor调用}}// new创建对象的时候,会自动调用构造函数。