cloud-web-corejs 1.0.54-dev.381 → 1.0.54-dev.383

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cloud-web-corejs",
3
3
  "private": false,
4
- "version": "1.0.54-dev.381",
4
+ "version": "1.0.54-dev.383",
5
5
  "scripts": {
6
6
  "dev": "vue-cli-service serve",
7
7
  "lint": "eslint --ext .js,.vue src",
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div>
3
- <div ref="gantt" :style="'height:' + (tabheight - 80) + 'px'" />
3
+ <div ref="gantt" :style="'height:' + tabheight + 'px'" />
4
4
  </div>
5
5
  </template>
6
6
 
@@ -108,7 +108,7 @@ export default {
108
108
  gantt.parse(this.tasks);
109
109
  },
110
110
  destroyGantt() {
111
- gantt.destroy();
111
+ // gantt.destroy();
112
112
  // gantt.destructor();
113
113
  },
114
114
  // 初始化
@@ -343,10 +343,10 @@ export default {
343
343
  }
344
344
  },
345
345
  getGanttTarget() {
346
- return gantt
346
+ return gantt;
347
347
  },
348
348
  getGanttInstance() {
349
- return this.ganttInstance
349
+ return this.ganttInstance;
350
350
  },
351
351
  },
352
352
  };