aloudata-gantt 0.0.2 → 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,13 +4871,11 @@ var GanttStore = /*#__PURE__*/function () {
4871
4871
  }, {
4872
4872
  key: "initWidth",
4873
4873
  value: function initWidth() {
4874
- console.log("**********this.tableWidth, this.viewWidth, this.width************");
4875
- console.log(this.tableWidth, this.viewWidth, this.width);
4876
- this.tableWidth = this.totalColumnWidth > 0 ? this.totalColumnWidth : 200;
4874
+ this.tableWidth = this.totalColumnWidth || 500;
4877
4875
  this.viewWidth = this.width - this.tableWidth;
4878
4876
  // 图表宽度不能小于 200
4879
- if (this.viewWidth < 50) {
4880
- this.viewWidth = 50;
4877
+ if (this.viewWidth < 200) {
4878
+ this.viewWidth = 200;
4881
4879
  this.tableWidth = this.width - this.viewWidth;
4882
4880
  }
4883
4881
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aloudata-gantt",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "license": "MIT",
5
5
  "module": "dist/index.esm.js",
6
6
  "typings": "dist/types/index.d.ts",