chore: 2026-03-30 rider-web 备份
This commit is contained in:
parent
fe29a3ab0b
commit
98f8d4669d
|
|
@ -234,9 +234,8 @@ const logout = () => {
|
|||
cancelButtonText: '取消',
|
||||
type: 'warning'
|
||||
}).then(() => {
|
||||
localStorage.removeItem('customer_token')
|
||||
localStorage.removeItem('customer_info')
|
||||
localStorage.removeItem('customer_id')
|
||||
localStorage.removeItem('token')
|
||||
localStorage.removeItem('riderInfo')
|
||||
router.push('/login')
|
||||
ElMessage.success('已退出登录')
|
||||
}).catch(() => {})
|
||||
|
|
|
|||
|
|
@ -13,5 +13,15 @@ export default defineConfig({
|
|||
changeOrigin: true
|
||||
}
|
||||
}
|
||||
},
|
||||
build: {
|
||||
rollupOptions: {
|
||||
output: {
|
||||
manualChunks: {
|
||||
'element-plus': ['element-plus'],
|
||||
'vendor': ['vue', 'vue-router', 'axios']
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue