# database-tool **Repository Path**: wanshunhao/database-tool ## Basic Information - **Project Name**: database-tool - **Description**: 关于图表组件的工具demo - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-10-27 - **Last Updated**: 2021-11-26 ## Categories & Tags **Categories**: Uncategorized **Tags**: 图表工具 ## README # database 采用 vue3.2+ts 的制作出来的图表工具集 拖拽采用的是 Vue3DraggableResizable,因为原版有 bug,所以我下载到项目里面了,/src/components/DragCharts/components/Vue3DraggableResizable 如果需要添加新的图表,则需在/src/components/Chart/options 加入一个 xxxOptions.ts 的文件,文件内必须有 getOption 返回该图标的配置信息 如果需要添加新的组件样式的配置,则需在/src/views/dataease/view/components/useFormData.ts 里面添加对应的样式配置 ## Project setup ``` npm install ``` ### Compiles and hot-reloads for development ``` npm run serve ``` ### Compiles and minifies for production ``` npm run build ``` ### Lints and fixes files ``` npm run lint ``` ### Customize configuration See [Configuration Reference](https://cli.vuejs.org/config/).