|
@@ -977,6 +977,7 @@ export default {
|
|
|
if (res.code === 200) {
|
|
|
this.describeEditorVisible = false
|
|
|
this.bugGet(this.bug.id)
|
|
|
+ this.$emit('update', false)
|
|
|
}
|
|
|
})
|
|
|
},
|
|
@@ -987,6 +988,7 @@ export default {
|
|
|
},
|
|
|
updateBugStatus() {
|
|
|
this.bugGet(this.bug.id)
|
|
|
+ this.$emit('update', false)
|
|
|
},
|
|
|
bugGet(id, isLoading) {
|
|
|
this.loading.fullscreen = isLoading
|
|
@@ -995,11 +997,6 @@ export default {
|
|
|
if (this.num === 0) {
|
|
|
document.getElementsByClassName('scop')[0].scrollTop = 0
|
|
|
}
|
|
|
- // if (this.type !== 'page') {
|
|
|
- // if (res.data.bizId !== Number(localStorage.getItem('bizId'))) {
|
|
|
- // Utils.$emit('demo', res.data.bizId)
|
|
|
- // }
|
|
|
- // }
|
|
|
this.bug = res.data
|
|
|
this.bug.currentHandler = res.data.currentHandler.split(',')
|
|
|
this.bug.assigner = res.data.assigner.split(',')
|