Vue路由传参加密解密
时间: 2023-09-08 07:13:26 浏览: 114
在vue项目如何使用base64加密.docx
在Vue中,如果需要对路由进行参数加密和解密,可以使用Base64编码和解码的方式实现。首先,你需要创建一个base64.js文件,其中包含了加密和解密的方法。以下是一个示例的base64.js文件内容:<em>1</em><em>2</em><em>3</em>
#### 引用[.reference_title]
- *1* [vue路由传参-使用encodeURI加密参数](https://blog.csdn.net/weixin_42912237/article/details/120152937)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}} ] [.reference_item]
- *2* [vue 路由传参加密解密](https://blog.csdn.net/weixin_70563937/article/details/130954876)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}} ] [.reference_item]
- *3* [Vue 路由传参加密](https://blog.csdn.net/weixin_43285861/article/details/123636826)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}} ] [.reference_item]
[ .reference_list ]
阅读全文