Skip to content
Snippets Groups Projects

Feature dropdownandchoose

Closed Eka Sunandika requested to merge feature-dropdownandchoose into dev
Compare and
12 files
+ 14344
75
Preferences
Compare changes
Files
12
@@ -46,18 +46,19 @@ export default {
return {
id: '',
name: '',
json: {}
json: {},
dataset: ""
}
},
async mounted() {
this.id = this.$route.query.id
this.name = this.$route.query.name
this.json = await this.getLabelByID()
this.dataset = this.$route.query.dataset
},
methods:{
closeJSONViewer() {
this.$router.push('/main/json')
this.$router.push({path:'/main/json', query: {dataset:this.dataset}})
},
async getLabelByID(){
var url = 'api/label/imagequery/'+ this.id