0.1.5 • Published 3 years ago
xb-ls-formation v0.1.5
xb-ls-formation
Project setup
npm install xb-ls-formation
npm install axios
在main.js中引入组建
import XbLsFormation from 'xb-ls-formation'
Vue.use(XbLsFormation)
Patrol 巡更弹出层
引入样式文件
import "xb-ls-formation/lib/Patrol.css"
属性
1、getPatrolurl 必填, 获取巡更路线的url
2、getPatroltype 必填, 接口请求类型
3、width 非, 设置巡更窗口宽度默认为511px
4、height 非, 设置巡更窗口高度默认为438px
实例
<Patrol v-if="ispatrol" getPatrolurl="/bjdphp/index.php?type=search" getPatroltype="get" @changeShowPatrol="changeShowPatrol" width="400px" height="300px"></Patrol>