Browse Source

Apply linter

pull/1899/head
Hironsan 2 years ago
parent
commit
28b3501f2b
2 changed files with 2 additions and 2 deletions
  1. 2
      frontend/pages/demo/object-detection/index.vue
  2. 2
      frontend/pages/demo/segmentation/index.vue

2
frontend/pages/demo/object-detection/index.vue

@ -195,7 +195,7 @@ export default {
},
selectRectangle(rectangleId) {
console.log("selectRectangle", rectangleId)
console.log('selectRectangle', rectangleId)
if (rectangleId) {
this.selectedRectangle = this.rectangles.find((r) => r.id === rectangleId)
this.selectedLabelIndex = this.labels.findIndex(

2
frontend/pages/demo/segmentation/index.vue

@ -189,7 +189,7 @@ export default {
},
selectRegion(regionId) {
console.log("selectRegion", regionId)
console.log('selectRegion', regionId)
if (regionId) {
this.selectedPolygon = this.polygons.find((r) => r.id === regionId)
this.selectedLabelIndex = this.labels.findIndex((l) => l.id === this.selectedPolygon.label)

Loading…
Cancel
Save