| | |
| | | width="960" |
| | | height="540" |
| | | :style=" |
| | | `position:static;background:url(${ |
| | | snapshot_url |
| | | ? `/httpImage/${snapshot_url}` |
| | | : backImg |
| | | }) 0% 0%/960px 540px no-repeat;` |
| | | `position:static;background:url(${snapshot_url}) 0% 0%/960px 540px no-repeat;` |
| | | " |
| | | ></canvas> |
| | | <p |
| | |
| | | this.lineIndex = this.canvasData.line.length; |
| | | this.rectIndex = this.canvasData.rect.length; |
| | | this.arrowIndex = this.canvasData.arrow.length; |
| | | this.polygonIndex = this.canvasData.polygon.length; |
| | | //排除this.canvasData.polygon全部区域(全部区域的id就是摄像机的id) |
| | | |
| | | let filterPolygonArr = this.canvasData.polygon.filter(item=>item.id != this.TreeDataPool.selectedNode.id) |
| | | this.polygonIndex = filterPolygonArr.length; |
| | | }, |
| | | // 生成uuid |
| | | getUuid() { |