cust
Project setup
npm install
Compiles and hot-reloads for development
npm run serve
Compiles and minifies for production
npm run build
Customize configuration
页面设置
- 登录页
- 课表页(tab)
- 成绩页(tab)
- 登出页(tab)
vue-cli3下 解决浏览器兼容性问题
- 安装babel-polyfill依赖
npm i babel-polyfill --save-dev
- vue.config.js新增
chainWebpack: config => { config.entry('main').add('babel-polyfill') // main是入口js文件 }
本地缓存
-
localStorage.setItem("cherry",JSON.stringify(this.$store.state))
-
this.$store.replaceState(Object.assign(this.$store.state,JSON.parse(localStorage.getItem("cherry"))));
-
旋转色值filter: hue-rotate(290deg);
Description
Languages
Vue
75.8%
JavaScript
21%
SCSS
2.1%
HTML
1%