# vite_admin **Repository Path**: openfs/vite_admin ## Basic Information - **Project Name**: vite_admin - **Description**: 创建的一个基于 vite+vue ,使用 vuex/vue-router/axios/echarts/crypto-js/sass/less/element-plus/normalize/ 的一个电商后台管理系统 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-04-07 - **Last Updated**: 2023-04-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 电商后台管理系统 ## 202/04/06-start [likeshop 开源商城系统演示](https://www.likeshop.cn/product_demo_center) 后端接口文档: [http://162.14.108.31:5945/swagger](http://162.14.108.31:5945/swagger) ## 技术栈 vite + vue@3.x + element-plus + vuex + vue-router + axios + echarts + sass + es6 ## 登录实现 1. 使用 el-form 组件元素,el-form-item 2. 使用 :rules 实现表单验证,使用 `this.$refs.loginForm.validate()` 点击验证,trycatch 错误处理 3. 登录成功获取 token 保存cookie ,可以使用 cookie-js 进行cookie操作,或者自己封装的处理函数 4. Crypto-js 加解密操作实现 本地用户名密码存储,localStorage/sessionStorage