修改禅道已知bug
This commit is contained in:
@@ -511,17 +511,14 @@
|
||||
},
|
||||
mounted() {
|
||||
this.GetgetLoginUserType()
|
||||
this.time = setInterval(() => {
|
||||
if (this.currentPersonRole == "dre"){
|
||||
setTimeout(() => {
|
||||
if (this.currentPersonRole == 'dre') {
|
||||
this.handlePreservation()
|
||||
}
|
||||
}, 10000)
|
||||
this.paramsManifest = JSON.parse(localStorage.getItem('paramsManifest'))
|
||||
document.title = `${this.paramsManifest.title}-` + this.$t('ParameteItemCollectionList')
|
||||
},
|
||||
beforeDestroy() {
|
||||
clearInterval(this.time)
|
||||
},
|
||||
methods: {
|
||||
...mapGetters(['userInfo']),
|
||||
handleCancelRoleSwitching() {
|
||||
@@ -1062,6 +1059,11 @@
|
||||
_this.$message.success(_this.$t('OperationSuccessful'))
|
||||
this.textLoading = false
|
||||
}
|
||||
setTimeout(() => {
|
||||
if (this.currentPersonRole == 'dre') {
|
||||
this.handlePreservation()
|
||||
}
|
||||
}, 10000)
|
||||
} else {
|
||||
if (num && num == 1) {
|
||||
_this.$message.warning(_this.$t('operationFailed'))
|
||||
|
||||
Reference in New Issue
Block a user