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