[go: nahoru, domu]

Skip to content

liuweiyibai/handsontable-in-vue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

数据可视化功能

A Excel of Vue

启动项目

  • 安装依赖
  • 项目启动
# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

数据统计

  • 使用handsontable + elementUI + vue进行搭建

  • 对部分handsontable功能进行细化自定义

  • 登录和注册页面在One文件中login.html 和 register.html文件中

  • 登录后回向Cookie中写入登录状态以及用户ID

  • 因为只需要用到用户Token,并无其他共享信息,所以未使用vuex

  • 每个接口访问都要加入参数userID在入口文件中绑定到Vue.prototype上

  • router.beforech() 会判断当前路由是否需要登录,所有路由都需要登录,并且要检查Cookie中是否存在ISLOGIN

  • 使用axios发送Http请求。

About

a vue demo of Excel by Handsontable and vue and axios.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published