vue插件之甘特图 下载包 npm install dhtmlx-gantt --save 创建Gantt.vue文件 <template> <div ref="gantt"></div> </template> <script> import 'dhtmlx-gantt' export default { name: 'gantt', props: { tasks: { type: Object, default () { return { data: [], links: []} }<