1.0.7 • Published 11 months ago

ydzh-vue2-common v1.0.7

Weekly downloads
-
License
-
Repository
-
Last release
11 months ago

vue2-common-componsents

提示:

1.修改之后必须更改版本
2.必须经过测试在发布

1.新增组件

1.在package目录下新建立文件夹和vue文件
2.vue文件必须有name属性
3.在package/index.js 导入组件并且加入到components数组中
4.请在READE.md里添加组件的对应解释和使用步骤

2.新增公用方法

1.在utills/modules目录下建立文件
2.在utils/index.js文件里导入这个文件
3.请在方法里表面方法的参数解释

3.已有组件实例

1.yd-button  基本规则和elelment-button使用一样,多了一个权限编码属性(必传)
  <yd-button type="primary" 
  icon="el-icon-search"size="mini"      				
  @click="query"
  permission="datacenter_service:building:page"
  />
2.yd-page   增删查改页面的基本模板, 查询条件/按钮/表格/分页/弹框
  <yd-page
    :page-total="total"
    :page-size.sync="searchForm.size"
    :page-current.sync="searchForm.current"
    @pagination="query"
  >
  	<template #search></template>
  	<template #op-btns></template>
  	<template #table></template>
  	<template #default></template>
  </yd-page>
3. yd-map  通过leaft组件 做的一个地图选点功能
    <yd-map ref="map" 
    :marker="currentMarker" 
    :latitude.sync="fromInfo.latitude" 
    :longitude.sync="fromInfo.longitude" />
1.0.7

11 months ago

1.0.6

11 months ago

1.0.5

11 months ago

1.0.3

11 months ago

1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago

0.0.7

11 months ago

0.0.6

11 months ago

0.0.5

11 months ago

0.0.4

11 months ago

0.0.3

11 months ago

0.0.2

11 months ago

0.0.1

11 months ago