代码修改

This commit is contained in:
cwchen 2025-09-29 09:22:05 +08:00
parent 18bd30d68e
commit 4bf259e803
3 changed files with 3 additions and 2 deletions

View File

@ -57,6 +57,7 @@ import SizeSelect from '@/components/SizeSelect'
import Search from '@/components/HeaderSearch'
import RuoYiGit from '@/components/RuoYi/Git'
import RuoYiDoc from '@/components/RuoYi/Doc'
import { getSystemConfigApi } from '@/utils/systemConfig'
export default {
emits: ['setLayout'],
@ -103,7 +104,7 @@ export default {
}).then(() => {
this.$store.dispatch('LogOut').then(() => {
location.href = process.env.VUE_APP_ENV === 'production'? '/smart-archiving/index': '/index'
sessionStorage.removeItem('systemConfig')
getSystemConfigApi();
})
}).catch(() => {})
}

View File

@ -31,6 +31,7 @@ function getConfig(value) {
if(config){
const decryptArr = JSON.parse(decryptWithSM4(config));
const result = decryptArr.find(item => item.configCode === value);
console.error(result);
return result.useStatus === '0';
}else{
return false;

View File

@ -82,7 +82,6 @@ export default {
},
/* 搜索操作 */
handleQuery() {
alert(1);
this.$refs.proTableRef.getTableList()
},
/* 打开档案管理 */