发布 v3.3.0

This commit is contained in:
疯狂的狮子li
2021-10-29 09:18:18 +08:00
parent 6def4aa84d
commit 4d12424378
426 changed files with 43788 additions and 4704 deletions

View File

@@ -56,7 +56,6 @@ import SizeSelect from '@/components/SizeSelect'
import Search from '@/components/HeaderSearch'
import RuoYiGit from '@/components/RuoYi/Git'
import RuoYiDoc from '@/components/RuoYi/Doc'
import config from '@/../vue.config'
export default {
components: {
@@ -103,7 +102,7 @@ export default {
type: 'warning'
}).then(() => {
this.$store.dispatch('LogOut').then(() => {
location.href = config.publicPath + 'index';
location.href = this.$router.options.base + '/index';
})
}).catch(() => {});
}

View File

@@ -162,7 +162,7 @@ export default {
this.sideTheme = val;
},
saveSetting() {
this.$modal.loading("正在保存到本地,请稍...");
this.$modal.loading("正在保存到本地,请稍...");
this.$cache.local.set(
"layout-setting",
`{
@@ -178,7 +178,7 @@ export default {
setTimeout(this.$modal.closeLoading(), 1000)
},
resetSetting() {
this.$modal.loading("正在清除设置缓存并刷新,请稍...");
this.$modal.loading("正在清除设置缓存并刷新,请稍...");
this.$cache.local.remove("layout-setting")
setTimeout("window.location.reload()", 1000)
}