修改禅道已知bug

This commit is contained in:
qq787203167
2022-07-02 16:48:21 +08:00
parent ddd925097c
commit 5df5594107
@@ -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'))