aloudata-gantt 0.0.1 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -4871,7 +4871,7 @@ var GanttStore = /*#__PURE__*/function () {
4871
4871
  }, {
4872
4872
  key: "initWidth",
4873
4873
  value: function initWidth() {
4874
- this.tableWidth = this.totalColumnWidth;
4874
+ this.tableWidth = this.totalColumnWidth || 500;
4875
4875
  this.viewWidth = this.width - this.tableWidth;
4876
4876
  // 图表宽度不能小于 200
4877
4877
  if (this.viewWidth < 200) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aloudata-gantt",
3
- "version": "0.0.1",
3
+ "version": "0.0.3",
4
4
  "license": "MIT",
5
5
  "module": "dist/index.esm.js",
6
6
  "typings": "dist/types/index.d.ts",
@@ -16,7 +16,6 @@
16
16
  },
17
17
  "husky": {
18
18
  "hooks": {
19
- "pre-commit": "lint-staged",
20
19
  "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
21
20
  }
22
21
  },