2020-02-09 12:44:20 +08:00
2020-03-12 11:44:29 +08:00
2020-01-20 14:25:36 +08:00
2020-01-18 09:19:09 +08:00
2020-02-13 11:14:17 +08:00
2020-02-19 17:25:10 +08:00
2020-02-25 13:27:57 +08:00
2020-01-25 23:23:33 +08:00

cust

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Customize configuration

See Configuration Reference.

页面设置

  • 登录页
  • 课表页(tab)
  • 成绩页(tab)
  • 登出页(tab)

vue-cli3下 解决浏览器兼容性问题

  1. 安装babel-polyfill依赖npm i babel-polyfill --save-dev
  2. vue.config.js新增
        chainWebpack: config => {
            config.entry('main').add('babel-polyfill') // main是入口js文件
        }
    

本地缓存

  • localStorage.setItem("storeState",JSON.stringify(this.$store.state))
  • this.$store.replaceState(Object.assign(this.$store.state,JSON.parse(localStorage.getItem("storeState"))));
Description
Cherry课表前端
Readme 2.6 MiB
Languages
Vue 75.8%
JavaScript 21%
SCSS 2.1%
HTML 1%