1 Star 9 Fork 5

itvita / lazyit-tools

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
Apache-2.0

lz-table表格组件

template

 <lz-table ref="myTable">
   <!--工具条-->
   <div slot="tools">
     <a-button icon="plus" @click="showAdd" type="primary">
     	添加
     </a-button>
     <a-button icon="delete" @click="dels" style="margin-left: 10px;" type="danger">
     	批量删除
     </a-button>
     <a-button icon="import" @click="imports" style="margin-left: 10px;" type="default">
     	导入
     </a-button>
     <a-button icon="export" @click="exports" style="margin-left: 10px;" type="default">
     	导出
     </a-button>
   </div>
 </lz-table>

script

init方法应放到 mounted 中进行初始化

this.$refs.myTable.init({
      url: globalConf.baseURL + '/base/label/getList', // 请求url
      columns: [{
        field: 'title',
        title: '标签名称',
        sorter: 'true',
        align: 'left'
      }],
      operate: {
        width: 200,
        items: [
          {
            label: '编辑',
            color: 'success',
            permission: 'table:edit',
            event: row => {
              this.$refs.edit.showModal(row.id)
            },
            //按钮隐藏条件
            hidden: row => {
              if(row.state===1){
                return true //隐藏
              }else{
                return false
              }
            }
          },
          {
            label: '删除',
            color: 'danger',
            permission: 'table:edit',
            event: row => {
              this.$confirm({
                title: '确认删除?',
                content: '删除后将无法恢复!',
                onOk: () => {
                  this.$axios({
                    url: globalConf.baseURL + '/base/label/del',
                    method: 'post',
                    data: {
                      id: row.id
                    }
                  }).then(() => {
                    this.$message.success('删除成功')
                    this.$refs.myTable.selectedRowKeys = []
                    this.search({})
                  })
                }
              })
            }
          }
        ]
      }
    }, () => {
      this.search({})
    })

属性

init的更多属性-下面展示的为默认值

属性 说明 是否必填 类型 默认值
url 请求链接 String
method 请求方式 post/get get
pagination 是否显示分页 boolean true
queryParams 默认参数 Object {}
pageNumber 初始化加载第一页,默认第一页 Number 1
pageSize 每页的记录行数(*) Number 10
pageList 可供选择的每页的行数 Array [10, 25, 50, 100]
showColumns 是否显示所有的列 boolean true
showRefresh 是否显示刷新按钮 boolean true
changeSize 允许改变列大小 boolean true
showCheckBox 显示复选框 boolean false
showIndex 显示序号 boolean true
height 行高,如果没有设置height属性,表格自动根据记录条数设置表格高度 Number 500
columns 定义列 Array
operate 定义操作 Array

columns示例

[{

field: 'title', //字段名

title: '标签名称', //显示名 sorter: 'true', //是否可以排序 permission: 'table:edit', //权限标识 width:'200px',//宽度 ,不配置则自适应宽度 align: 'left'//对齐方式 可选:left center right }, { field: 'name', title: '名称', sorter: 'true', align: 'left' }]


columns字段格式化显示

格式化文本: -- 常用于标题,点击查看详情

```javascript
{
field: 'title',
title: '名称',
sorter: 'true',
align: 'left',
width: 100,
formatter: {
type: 'text', //格式化方式
format: row => {
   return {
       value: row.title, //显示文本(必填)
         color: 'primary', // 显示颜色 'primary','danger','success','warning','info','default'
         event:()=>{ // 点击触发事件
            // ...
          }
       }
   }
   }
   }

格式化为 图片

用于显示单个图片 比如头像,商品主图

{
  field: 'headImage',
  title: '状态',
  sorter: 'true',
  align: 'center',
  width: 100,
  formatter: {
    type: 'image', //格式化方式
    format: row => {
      return {
      	name:'',// 名称
      	url:''  // 图片路径
      }
    }
  }
}

格式化为图文

可用来显示 头像+名称效果,或者商品主图+名称+价格效果

{
  field: 'name',
  title: '状态',
  sorter: 'true',
  align: 'center',
  width: 100,
  formatter: {
    type: 'image-text', //格式化方式
    format: row => {
      return {
      	name:'',// 名称
      	url:''  // 图片路径
      	text:[ //显示文本内容, 建议一行或两行
          {
            content:'显示文本'
          },
          {
            content:'显示文本'
          }
      	]
      }
    }
  }
}

格式化为开关

常用于状态切换列,比如:是|否

{
  field: 'state',
  title: '状态',
  sorter: 'true',
  align: 'center',
  width: 100,
  formatter: {
    type: 'switch', //格式化方式
    format: row => {
      return {
      	value:true,// 是否选中  true | false
      	change:()=>{// change事件回调
          const v = !row.state
          // ...
        }
      }
    }
  }
}

格式化徽章

常用于显示各种状态 如,等待审核-gray,审核通过-blue,审核拒绝-red

{
  field: 'state',
  title: '状态',
  sorter: 'true',
  align: 'center',
  width: 100,
  formatter: {
    type: 'badge', //格式化方式
    format: row => {
      return {
      	value:'审核通过',
      	color:'blue'//徽章颜色'blue','green','gray','orange','yellow','red' 等
      }
    }
  }
}

方法

this.$refs.myTable.selectedRowKeys //获取或设置选中的行,[id,id,id,id]
this.$refs.myTable.selectedRows //获取或设置选中的行,[{row},{},{}]
this.$refs.myTable.search(param || {}) // 执行搜索,param{k:v} json参数
this.$refs.myTable.getSelected() //获取选中项 {selectedRowKeys,selectedRows}
this.$refs.myTable.setSelected(selectedRowKeys,selectedRows)//设置选中项

lz-search搜索组件

更新日志

  • 2020-09-15:新增树形下拉懒加载数据
  • 2020-05-15:新增月份选择框

template

  <lz-search ref="searchBar" :items="items" @search="search"></lz-search>

items说明

export default [
//文本
  {
    type: 'text', //组件类型
    dataIndex: 'name', //组件key
    label: '名称', //组件显示名称
    defaultValue: '' //默认值
  },
  //下拉静态数据
  {
    type: 'select',
    dataIndex: 'state',
    label: '状态',
    defaultValue: '',
    options: [ //选项配置
      {
        label: '启用',//名称
        value: '1' //值
      },
      {
        label: '禁用',
        value: '0'
      }
    ]
  },
  //下拉动态数据
   {
    type: 'select',
    dataIndex: 'state',
    label: '状态',
    defaultValue: '',
    options: [],
    optionsConfig: { //动态数据配置
       url:'http://localhost:8102/base/classify/getAll',//数据请求地址result:{code:1,content:[]}
       label: 'title',// label对应key  不设置默认label
       value: 'id' //value 对应key  不设置默认value
    }
  },
    //树形下拉
   {
    type: 'tree-select',
    dataIndex: 'dept',
    label: '树形下拉',
    defaultValue: '',
    allowLv: '>=0',//允许选择层级的条件===n,!==n ,>=n ,<=n,>n,<n,false 不使用条件(不使用条件时,可通过返回结果内增加disabled=[true|false]控制是否可选)
    asyncLoad:false,//是否开启数据懒加载(开启后会在请求url上增加参数?pid=value)
    optionsConfig: {
       url:'http://localhost:8102/base/classify/getAll',//数据请求地址result:{code:1,content:[{label,value,lv,[disabled]}]}
       label: 'title',// label对应key  不设置默认title
       value: 'id', //value 对应key  不设置默认value
       lv: 'lv'//层级 不设置 默认 lv
    }
  },
  //日期范围
  {
    type: 'range-picker',
    dataIndex: 'dates',
    label: '日期范围',
    defaultValue: ''
  },
  //月选择框
  {
    type: 'month-picker',
    dataIndex: 'month',
    label: '月份选择',
    defaultValue: ''
  }
]

事件

事件名称 说明 回调参数
search 节点点击事件 function(values)

values:搜索条件值

方法

事件名称 说明 使用示例
getValues 主动获取搜索条件值 this.$refs.searchBar.getValues()

lz-tree 树形

template

<lz-tree ref="lzTree" :replaceFields="{
             key: 'key',
            title: 'title',
            children: 'children'
        }"
        :asyncLoad="asyncLoad"
        @click="nodeClick"></lz-tree>

asyncLoad:异步加载数据,不需要异步时可不配置

script

 this.$refs.lzTree.init(treeData)//treeData 为初始化数组,异步时treeData若不填,则默认请求一次asyncLoad({id:0})

属性说明

属性 说明 类型 默认值
replaceFields 替换结果集中key,title,children为对应字段 Object {
key: 'key',
title: 'title',
children: 'children'
}
asyncLoad 异步加载数据 function(node) -

replaceFields示例

{
    key: 'id',  // 唯一值 ,默认id
    title: 'name', // 显示内容,默认name
    children: 'children' //直接点键
  }

asyncLoad实例

asyncLoad({id}){
  return new Promise(resolve => {
    this.$axios({
      url:'http://localhost:7001/center/pc/serve/goods/category/getTree',
      params:{pid:id}
    }).then(res=>{
      resolve(res.data) //子节点数据 []
    })
  })
},

事件说明

事件名称 说明 回调参数
click 节点点击事件 function(value)

value:当前选中节点json数据

方法说明

方法名称 参数 说明
refreshByPid id 属性某节点下数据

例:

this.$refs.lzTree.refreshByPid("1308741694174265344");//刷新id 1308741694174265344下的直接点数据

lz-text文本预览

template

<lz-text :value="lztext" color="primary" @click="textClick"></lz-text>

属性说明

属性 说明 类型 默认值
color 颜色(primary,success,warning,error) String

事件

事件名称 说明 回调参数
click 点击事件,返回参数 lztext function(value)

value说明:传入值lztext

lz-upload-tools 文件上传-表格工具条

单文件上传,常用于table表格工具条

template

<lz-upload-tools
        @beforeUpload="beforeUpload"
        @doneUpload="doneUpload"
        label="导入"
        :size="1"
        accept=".xlsx,.xls"
        action='http://localhost:8102/base/common/upload/image'
/>

属性

属性 说明 类型 默认值
label 组件名称 String 导入
size 允许上传文件大小 单位MB Number 2
accept 允许上传文件类型 String
action 文件上传路径 String

事件

事件名称 说明 回调参数
beforeUpload 文件开始上传前调用 function(values)
doneUpload 文件上传完成后调用 function(values)

values示例

{
		file:File,
		id: "1qgc04h0lsclr7bhtcby"
    name: "文件名.xlsx"
    original: "源文件路径"
    path: "压缩文件路径"
    state: 2 //状态,1开始上传,2上传成功,3上传失败
	}

lz-upload文件上传-表单

多文件上传

template

<lz-upload
        v-model="uploadList"
        :max-num="5"
        :size="1"
        @change="uploadChange"
        accept=".jpg,.png,.xlsx"
        :disabled="false"
        imgBasePath="https://echftp.yqzhfw.com/"
        action='http://localhost:8102/base/common/upload/image'
        :replaceFields="{
          name: 'name',
          path: 'path',
          original: 'original',
          size: 'size',
          suffix: 'suffix',
        }"
        :step="{ size: 1024 }"
/>

属性说明

属性 说明 类型 默认值
value(v-model) 设置上传文件默认值 Array []
max-num 允许最大文件数 Number 0
size 单位MB Number 2
accept 允许上传文件类型 String 几乎所有文件
disabled 是否禁用 boolean false
imgBasePath 文件访问跟路径 String
action 文件上传路径 String
replaceFields 结果 key替换 Object {
name: 'name',
path: 'path',
original: 'original',
size: 'size',
suffix: 'suffix',
}
step 开启分片上传 Object false

step说明

属性 说明 类型 默认值
size 分片大小,单位kb Number

事件

事件名称 说明 回调参数
change 文件发生改变后调用 Change(values)

values示例

[{
        name: '音频服务.png',  //必须
        path: '/basis/2020/7/10/13acde2b08e84fc7bae4e9c0195facfc.png' //必须
	}]

lz-image 图片预览

<lz-image url="path" :data-list="dataList"></lz-image>

属性

属性 说明 类型 默认值
url dataList 中视频访问地址key String path
dataList 视频列表 Array
baseUrl url跟地址 String

dataList

[
  {
  	path: 'https://echftp.yqzhfw.com/xxx.png'
  },
  {
  	path: 'https://echftp.yqzhfw.com/xxx.png'
  },
  {
  	path: 'https://echftp.yqzhfw.com/xxx.png'
  }
]

lz-video 视频预览

template

<lz-video url="path" :data-list="videoDataList"></lz-video>

属性

属性 说明 类型 默认值
url dataList 中视频访问地址key String path
dataList 视频列表 Array
baseUrl url跟地址 String

dataList示例

[
  {
  	path: 'https://echftp.yqzhfw.com/xxx.mp4'
  },
  {
  	path: 'https://echftp.yqzhfw.com/xxx.mp4
  },
  {
  	path: 'https://echftp.yqzhfw.com/xxx.mp4'
  }
]

lz-tinymce 富文本

template

<lz-tinymce
            v-model="a"
            height="300px"
            staticPath="https://ksource.yqzhfw.com/resource"
            action="https://ksource.yqzhfw.com/basis/api/base/v1/base/common/file/fileUpload"
            basePath="https://echftp.yqzhfw.com/"
  />

属性说明

属性 说明 类型 默认值
value(v-model) 用于设置当前富文本的内容 String
disabled 设置当前是否可编辑 boolean false
skin 皮肤["light", "dark"] String light
width 宽度 String 100%
height 高度 String 300px
staticPath 静态资源路径(可设为网络跟地址) String /static
action 上传地址 String
basePath 文件访问跟地址 String

事件

事件名称 说明 回调参数
input 输入时回调 function(values)
change 内容变化时回调 function(values)

values示例

<p>xxx</p>

lz-multiple-selector多选选择器

效果图

wg8yb6.jpg

template

<lz-multiple-selector
               action="http://localhost:7001/center/pc/serve/goods/category/getList"
               :replaceFields="{
                    title:'cateName,cateCode',
                    description:'createTime'
               }"
               v-model="ms"
               @change="msChange"
            />

属性说明

属性 说明 类型 默认值
value(v-model) 用于设置已选内容 Array []
action 左侧数据请求url
(自动附加请求参数:pageSize,pageNumber,keyword)
String
replaceFields 显示的内容可以用(,)分割在一行展示多列 Object {
title: 'title',
description: 'description'
}
show-description 是否显示描述行 Boolean True

事件

事件名称 说明 回调参数
change 结果发生改变时调用 function(values)

values示例

[
  {
    id:'1',
    title:'title1',
    description:'description1'
  },
  {
    id:'2',
    title:'title2',
    description:'description2'
  }
]

Lz-tree-select 下拉树选择

whBNOP.jpg whBtyt.jpg

template

<lz-tree-select
        ref="lzTreeSelect"
        :replaceFields="{
                key: 'id',
                value: 'id',
                title: 'cateName',
                children: 'children'
            }"
        v-model="treeSelect"
        @change="lzTreeSelectChange"
        :multiple="true"
        :asyncLoad="asyncLoad"
/>

asyncLoad:异步加载数据,不需要异步时可不配置

script

this.$refs.lzTreeSelect.init(treeData)//treeData 为初始化数组,异步时treeData若不填,则默认请求一次asyncLoad({id:0})

属性说明

属性 说明 类型 默认值
replaceFields 替换结果集中key,value,title,children为对应字段 Object {
key: 'key',
value:'value',
title: 'title',
children: 'children'
}
v-model(value) 绑定值单选时String ,多选时 Array String/Array
multiple 是否开启多选 Boolean false
asyncLoad 异步加载数据 function(node) -

asyncLoad实例

asyncLoad({id}) {
    return new Promise(resolve => {
        this.$axios({
            url: 'http://localhost:7001/center/pc/serve/goods/category/getTree',
            params: {pid: id}
        }).then(res => {
            resolve(res.data)
        })
    })
},

事件说明

事件名称 说明 回调参数
change 选中值改变触发 function(value)

lz-report报表展示

0SjV4x.jpg

template

 <lz-report
          ref="lzReport"
          domain="http://localhost:7001"
          reportId="ff80808174b5c3c80174b88705050003"
          reportName="供货单"
        >
        <a-button @click="hideModal">关闭</a-button>
        </lz-report>

属性

属性 说明 类型 默认值
domain 报表服务请求域名 String
reportId 报表ID String
reportName 报表导出名称 String :reportId

扩展

slot 内容将插入在顶部按钮后方,经常用于扩展一个页面关闭按钮

Script - init初始化

this.$refs.lzReport.init(param, () => {
  this.spinning = false
})

说明

属性 说明 类型 默认值
param 报表请求参数 String
callback 初始化成功回调 function()

lz-amap-choose-address高德地图选点

09BRFx.md.jpg 09BWY6.md.jpg

template

<lz-amap-choose-address
        map-key="87ff1e887140aa980a075c096a434940"
        placeholder="请设置地址"
        v-model="chooseArddr"
        @change="chooseArddrChange"/>

属性

属性 说明 类型 默认值
map-key 高德地图注册申请的key String
v-model(:value) 绑定的值 Object {
addr:''
lat:'',
lng:''
}
placeholder 空提示 String

事件

事件名称 说明 回调参数
change 内容改变时触发 function(value)

示例

<template>
  <div>
    <lz-amap-choose-address
      map-key="87ff1e887140aa980a075c096a434940"
      placeholder="请设置地址"
      v-model="chooseArddr"
      @change="chooseArddrChange"
    />
    选择结果:{{chooseArddr}}
  </div>
</template>
<script>
export default {
  data() {
    return {
      chooseArddr: {
        addr: "河南省郑州市金水区文化路街道河南省农业科学院1",
        lat: "34.788996",
        lng: "113.679317",
      },
    };
  },
  created() {},
  mounted() {},
  methods: {
    chooseArddrChange(val) {
      console.log(val);
    },
  },
};
</script>
<style></style>

lz-one-selector单选

1.0VAh8I.jpg 2.0VA5xP.md.jpg 3.0VA42t.jpg

template

<lz-one-selector
                    action="http://localhost:7001/center/pc/serve/goods/category/getList"
                    :replaceFields="{
                        title: 'cateName,cateCode',
                        description: 'createTime',
                    }"
                    v-model="os"
                    @change="osChange"
                    :show-description="true"
                />

属性说明

属性 说明 类型 默认值
value(v-model) 用于设置已选内容 Array []
action 左侧数据请求url
(自动附加请求参数:pageSize,pageNumber,keyword)
String
replaceFields 显示的内容可以用(,)分割在一行展示多列 Object {
title: 'title',
description: 'description'
}
show-description 是否显示描述行 Boolean True

事件

事件名称 说明 回调参数
change 结果发生改变时调用 function(values)

values示例

	{
    id:'1',
    title:'title1',
    description:'description1'
  }

lz-export-tools 工具条报表导出

Template

<lz-export-tools
        ref="lzExportTools"
        domain="http://localhost:7001"
        reportId="ff80808174d28d1b0174d43fb7e40001"
        reportName="测试导出"
         @click="exportClick" />

属性

属性 说明 类型 默认值
domain 报表服务请求域名 String
reportId 报表ID String
reportName 报表导出名称 String :reportId

事件

事件名称 说明 回调参数
click 按钮点击事件

方法

方法名称 说明 参数格式
exportExcel 导出excel Object
exportWord 导出word Object
exportPdf 导出pdf Object

示例:

exportClick(){
  this.$refs.lzExportTools.exportExcel(param)
},

示例说明

属性 说明 类型 默认值
param 报表请求参数 Object
Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. Copyright [yyyy] [name of copyright owner] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

简介

基于ant-design得自定义组件 展开 收起
Java 等 4 种语言
Apache-2.0
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Java
1
https://gitee.com/it-vita/lazyit-tools.git
git@gitee.com:it-vita/lazyit-tools.git
it-vita
lazyit-tools
lazyit-tools
master

搜索帮助