diff --git a/pages/API/nodes-info/nodes-info.uvue b/pages/API/nodes-info/nodes-info.uvue index 8fb95e11738842eb44dcb374a2e87c9609da850a..c79f48c2cc01f424396701ad9999498d4d489751 100644 --- a/pages/API/nodes-info/nodes-info.uvue +++ b/pages/API/nodes-info/nodes-info.uvue @@ -59,7 +59,7 @@ getNodeInfo() { uni.createSelectorQuery().select('.rect1').boundingClientRect().exec((ret) => { this.nodeInfoList.length = 0 - const i = ret[0]! as NodeInfo + const i = ret[0] as NodeInfo this.nodeInfoList.push({ left: i.left, top: i.top, @@ -73,7 +73,7 @@ getAllNodeInfo() { uni.createSelectorQuery().selectAll('.rect').boundingClientRect().exec((ret) => { this.nodeInfoList.length = 0 - const array = ret[0]! as NodeInfo[] + const array = ret[0] as NodeInfo[] array.forEach((i) => { this.nodeInfoList.push({ left: i.left,