Skip to content

Commit

Permalink
fix:标注缓存
Browse files Browse the repository at this point in the history
  • Loading branch information
PPzXiao committed May 22, 2020
1 parent 0c6d58b commit c5dbbd2
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions src/views/label/labeling.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1482,6 +1482,10 @@ const carouselPrefix = '?imageView2/2/h/440'
let length = this.tableData.length - 1
if(this.docid+1<=length)
{
this.labeledevent1={
name:'',
id:''
}
this.selectedregularid = ''
this.selecteddicid=''
this.selectendentity=''
Expand All @@ -1498,6 +1502,10 @@ const carouselPrefix = '?imageView2/2/h/440'
if(this.docid-1>=0)
{
this.labeledevent1={
name:'',
id:''
}
this.selectedregularid = ''
this.selecteddicid=''
this.selectendentity=''
Expand All @@ -1512,6 +1520,10 @@ const carouselPrefix = '?imageView2/2/h/440'
},
aside_click(id){
console.log(id)
this.labeledevent1={
name:'',
id:''
}
this.selectedregularid=''
this.selecteddicid=''
this.selectendentity=''
Expand Down Expand Up @@ -2644,11 +2656,10 @@ const carouselPrefix = '?imageView2/2/h/440'
}
},
dicadd(){
if (this.dicinputname&&this.dicinputentity&&this.dicinputstname) {
if (this.dicinputname&&this.dicinputentity) {
const formData = new window.FormData()
const input = [this.dicinputname,this.dicinputentity,this.dicinputstname]
console.log(input);
formData.append('type','manual')
formData.append('data',input)
const data = {
Expand Down

0 comments on commit c5dbbd2

Please sign in to comment.