Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf834a00

Browse files
committed
update demo
1 parent4df9e45 commitf834a00

File tree

8 files changed

+693
-452
lines changed

8 files changed

+693
-452
lines changed

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ It's optional, and defaulted as:
6666
}]
6767
},
6868
widthRatio:.14,
69-
enableDefaultPlugins:true,
69+
exportStyle:true,
7070
plugins: []
7171
}
7272
```

‎dist/table2excel.core.js‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎dist/table2excel.min.js‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎docs/index.html‎

Lines changed: 683 additions & 442 deletions
Large diffs are not rendered by default.

‎docs/js/table2excel.core.js‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎docs/js/table2excel.min.js‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name":"table2excel.js",
3-
"version":"0.3.4",
3+
"version":"0.5.1",
44
"description":"",
55
"main":"src/index.js",
66
"scripts": {

‎src/table2excel.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const DEFAULT_WORKBOOK_OPTIONS = {
1313
constDEFAULT_OPTIONS={
1414
workbook:DEFAULT_WORKBOOK_OPTIONS,
1515
widthRatio:WIDTH_RATIO,
16-
enableDefaultPlugins:true,
16+
exportStyle:true,
1717
plugins:[]
1818
}
1919

@@ -29,7 +29,7 @@ export default class Table2Excel {
2929
this.options=Object.assign({},DEFAULT_OPTIONS,options)
3030

3131
// setup plugins
32-
if(this.options.enableDefaultPlugins){
32+
if(this.options.exportStyle){
3333
this.options.plugins=[...Object.values(plugins), ...this.options.plugins]
3434
}
3535

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp