perf: 优化首页文件路径
This commit is contained in:
parent
a9439dbb50
commit
1decbfa30e
@ -2690,6 +2690,9 @@ export default {
|
||||
this.path = basePath + path
|
||||
this.path = this.path.replace(/\\/g, '/')
|
||||
this.path = this.path.replace(/\/\//g, '/')
|
||||
if (this.path === '/') {
|
||||
this.path = ''
|
||||
}
|
||||
|
||||
this.$store.dispatch('updateMessage', {event: 'storageTypeChange', data: storageType})
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user