Skip to content

flyxiaokang/v-custom-plugins

Repository files navigation

v-custom-plugins

introduce

自定义组件库

How to use?

#安装
npm install v-custom-plugins --save

#引入
import VcPlugins from 'v-custom-plugins'

#全局安装
VcPlugins.install(Vue)

components

VcUploadFile

支持上传shp、geojson等空间数据

Attributes

Param Type Description Default
accept string 支持文件类型 .shp,.prj,.json,.txt
onSuccess function(result) 成功回调
onError function(result) 失败回调

event

Name Description Param
on-success 成功触发 result
on-error 失败触发 result

VcSplitPanel

左右分割面板

Param Type Description Default
leftWidth number 左侧面板宽 300
minWidth number 面板最小宽度 200

dependencies

element-ui@^2.15.12

About

自定义组件库

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published