编程知识 cdmana.com

The front end realizes excel report, Vue + lucky sheet

The effect is as follows : 

luckysheet It's really powerful , Almost achieved in the page editing excel Of , Here's what I did demo, utilize vue+luckysheet Realization .

luckysheet Official website :https://mengshukeji.github.io/LuckysheetDocs/

 

demo I've reached github, You can pull it directly :https://github.com/weboldboy1994/EXCELdemo.git

 

 

 

 

 

 

 

 

 

matters needing attention :

1: Be sure to will luckysheet Put the files that need to be configured in public in (vue Put this in the frame ), Because now luckysheet Modular development has not been released yet , Out of commission npm, So you can only put it by hand ....

 

 

 

2: image echars It's written the same way , Need to introduce a “ Drawing board ”

 

 

 

3: initialization excel

container: by id Containers , And... In the drawing board id Corresponding

title: It's the header name

lang: For language en / zh

These are the basic configurations , Specific other configuration go to luckysheet Go to the official website of . This is done , You can achieve the simplest of excel The table .

 

 

 

 

版权声明
本文为[javascript9527]所创,转载请带上原文链接,感谢

Scroll to Top