🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

ldd-antd-ex

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ldd-antd-ex

VRV LiNKDOOD antd extend

latest
npmnpm
Version
3.0.4-patch1
Version published
Weekly downloads
131
54.12%
Maintainers
1
Weekly downloads
 
Created
Source

ldd-antd-ex

描述:ldd-antd-ex 仅适用于 ant design 扩展(偏向业务综合,非功能性扩展)

目录介绍:

examples:本地测试页面 启动:npm run dev src: 核心项目文件夹 components: 组件集存放处 composition: composition提供工具库 config: 组件设置入口,用于设置组件集全局参数信息 directive: 公用指令 env: 常用env定义 locales: 国际化(内部使用) service:axios.create 定义 统一定义接口请求错误处理与相关注入方法 utils:工具类/源生扩展类

组件类:

ColorPicker 颜色选择器 Icon 使用 iconfont 图标 不支持 antd 自带 icon OperationButton 查询列表操作按钮用于支持 Icon OrgUserModal1/OrgUserModal2/OrgUserModal3 仅支持各种场景下组织机构查询用户列表信息 Popover 问号提示卡片(功能固定) Tree 根据自身业务,从新编写组件 Upload 仅支持图片上传(修改 antd 上传方式,改调用内部 axios,便于错误信息拦截处理), 待扩展 Spin 扩展 a-spin 在外层提供空白页,加载图标位置水平垂直居中

配置类:

Provider 全局化配置,用于传入 locale、codes; 用于组件国际化与 axios 处理错误信息国际化

辅助类:

service axios 公共业务处理封装 扩展类似源功能 interceptors,可以使用 service.interceptors[error|request|response|params].use() 扩展自身业务处理 提供:axiosGet、axiosPost、axiosPage、axiosUpload 方法调用 ajax, vue 模板中已植入到 prototype 中 可以使用 this.$axiosGet js 中 import { axiosGet } from 'ldd-antd-ex';

formModalMixin 扩展使用 Modal 嵌套 form 提供基本公用方法

公共类:

prototype 扩展 String.prototype.formats

FAQs

Package last updated on 16 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts