Commit Graph

241 Commits

Author SHA1 Message Date
xachary a121b32252
fix(BasicTable): BasicTable resize wrong in modal (#3549) 2024-01-16 16:50:57 +08:00
xingyu 626c54504e
chore: update deps (#3465)
* chore: update deps

* fix: eslint

* chore: update deps

* chore: stylelint v16

* fix: stylelint

* fix: typecheck

* chore: node v18.12.0

* fix: type

* fix: style

* chore: up vue 3.4.3

* chore: prettier format

---------

Co-authored-by: invalid w <wangjuesix@gmail.com>
2024-01-05 09:45:30 +08:00
xiaoMingTongXue 98e2e4c89a
fix(BasicForm): 修复 useComponentRegister 方法无法添加自定义的组件,添加时爆类型错误的问题 (#3483)
* types(component): 修复 useComponentRegister 方法无法添加自定义的组件,添加时爆类型错误的问题

* types(component): 修复 table 组件的 useTableForm 入参的 fetch 和 TableActionType 的 reload 类型定义报错的问题

---------

Co-authored-by: chengmingrui <chengmingrui@oneaiops.com>
2024-01-02 09:44:50 +08:00
luocong2016 d3600daf5c
fix: navigator.clipboard 兼容问题 #3372 (#3403) 2023-12-12 15:25:13 +08:00
xachary f4df2d5a4b
feat: ColumnSetting and SizeSetting persist (#3398) 2023-12-12 12:04:03 +08:00
xingyu 4d2fb0cb6f
refactor: '/@/' ==> '@/' and '/#/ '==> '#/' (#3329)
* refactor: /@/ ==> @/

* chore: '/@/' ==> '@/' and '/#/ '==> '#/'

* fix: lint:prettier
2023-11-24 10:32:04 +08:00
Hannah Jensen a9530877c0
style: 修复eslint和stylelint (#3303)
Co-authored-by: DreamyTZK <i@tzki.cn>
2023-11-20 16:57:23 +08:00
Kirk Lin f91d777e4f
refactor: fix type check (#3246) 2023-11-07 10:31:32 +08:00
Kirk Lin 11cbe66937
refactor: remove cipher old (#3245) 2023-11-07 10:13:42 +08:00
Kirk Lin ea51c492c2
feat: pinia persist plugin custom serializer (#3244) 2023-11-07 10:13:24 +08:00
bowen beed7f2e11
feat(Upload): file list add drag func (#3227). resolve #3179 2023-11-02 11:26:35 +08:00
luchanan 00bf5d5bbf
站内支持API接口地址切换 (#3162)
* feat: 站内切换接口API

* feat: 站内切换接口API

* feat: 站内支持API接口地址切换,解决冲突,新增开关显示

(cherry picked from commit c6d60b6cfd50bf8e19233a21640ecf1d41c01cc8)
2023-10-23 14:37:56 +08:00
Kirk Lin 6f7d840128
refactor: cipher (#3174) 2023-10-19 16:41:29 +08:00
bowen 18222ab0b6
chore: fix type:check error (#3159) 2023-10-17 09:29:43 +08:00
bowen 8289332214
chore: Fix ts type error (#3112) 2023-10-09 15:12:23 +08:00
invalid w 1e95706f8b
chore: Fix ts type error (#3100)
* chore: fix onUploadProgress params type error

* fix(BasicButton): extends type error

* fix: useFormRules 类型问题

* fix: IFormConfig 类型问题

* chore: 设定CollapseItem list参数的类型

* chore: 修复sliderSpan类型错误

* chore: 改写成setup组件

* fix: static func type error

* chore: 设定listener 函数 evt类型为Event

* chore(props): 消除ts类型错误

* chore: 移除多余的类型转换

* Update domUtils.ts

* chore: 消除iconPicker类型错误

* Update domUtils.ts

* chore(clickOutside): 消除类型错误

* Update repeatClick.ts

* Update index.ts

* chore: 补全参数类型

* fix(Cropper): avatar uploadapi 类型问题
2023-10-08 17:30:19 +08:00
invalid w f3f2f548e6
Refactor:移除useCopyToClipboard hook, 使用navigator.clipboard进行替代。close #2723 (#3105)
* feat: 重写复制文本功能

* refactor: 替换复制文本示例代码

* chore: delete useCopyToClipboard hook
2023-10-08 10:50:05 +08:00
1455668754 a3b9ff04f9
修正日期区间拆解时数据为null时异常问题/修正validate|validateFields时,未将对象型数据进行转换 (#3096)
* fix: 修正日期区间拆解时数据为null时异常问题

* fix: 修正validate|validateFields时,未将对象型数据进行转换
2023-10-06 10:02:18 +08:00
leo b43fe7adbc
fix(axios): get等方法配置ignoreCancelToken无效 (#3040) 2023-09-18 10:04:24 +08:00
invalid w a9017da294
perf: 为createAsyncComponent函数增加类型推导 (#2967) (#2991) 2023-09-03 16:21:51 +08:00
舜岳 b660f96220
refactor: code optimization (#2961) 2023-08-13 09:14:38 +08:00
jinmao88 df1fceb291 fix: ci ok 2023-08-10 16:24:33 +08:00
jinmao88 9650122736 fix: ci 2023-08-10 15:52:57 +08:00
jinmao88 c99ef68b7b fix: ci 2023-08-10 15:16:22 +08:00
jinmao88 a95ba47b74 fix: ci 2023-08-10 15:09:38 +08:00
jinmao88 3fd193eb8b fix: ci 2023-08-10 14:51:56 +08:00
jinmao88 6fbc552ed1 fix: ci 2023-08-10 11:52:14 +08:00
jinmao88 833b31129b fix: getAppEnvConfig 2023-08-10 09:11:56 +08:00
LanceJiang a065de4fbc
feat: Form 自定义组件渲染 新增 opts: {disabled} 用于自定义渲染判断 示例: /comp/form/customerForm页面 (#2944)
* feat: Form 自定义组件渲染 示例: /comp/form/customerForm页面
1. 针对自定义渲染功能 FormSchema 中
render, renderColContent, renderComponentContent 新增 opts:{disabled} 扩展 帮助自定义渲染时做 条件判断、展示同步
渲染: ((renderCallbackParams) => any) ===> ((renderCallbackParams, opts) => any)
2. slot, colSlot 分别是 render, renderColContent 插槽,为方便插槽使用
slotFn 进行解构 #test={scope} scope==={...data, ...opts}

* feat: Form 自定义组件渲染 示例: /comp/form/customerForm页面

1. 针对自定义渲染功能 FormSchema 新增 [fields] 和 [defaultValueObj] 帮助
render, renderColContent 自定义渲染时 存在多个 表单字段操作(复合field 场景)
2023-08-03 11:12:19 +08:00
LittleSaya a4e70b9efe
通过把名称编码成hex,使项目能够在VITE_GLOB_APP_TITLE包含特殊字符时正常打包 (#2910)
* Update env.ts

使getVariableName能处理含有特殊字符的标题

* Update appConfig.ts

是getVariableName能处理包含特殊字符的标题的情况
2023-07-13 10:44:13 +08:00
Kirk Lin 7535db377f
fix(utils): deepMerge failing to correctly merge basic data types (#2872) 2023-06-19 16:59:44 +08:00
Kirk Lin 1f287145f4
fix(deepMerge): 去掉合并错误的代码 (#2848) 2023-06-10 17:19:18 +08:00
Kirk Lin 9c43c74131
Revert "fix(deepMerge): fix recursive merge data without removing duplicate bugs (#2831)" (#2844)
This reverts commit 7ca007ecd5.

Co-authored-by: jinmao88 <50581550+jinmao88@users.noreply.github.com>
2023-06-10 09:23:39 +08:00
Kirk Lin c516d39225
fix(deepMerge): the default merge strategy is to replace the array (#2843) 2023-06-10 09:21:20 +08:00
luojz 7ca007ecd5
fix(deepMerge): fix recursive merge data without removing duplicate bugs (#2831)
Co-authored-by: luojingzhou <luojingzhou@kezaihui.com>
2023-06-06 14:15:44 +08:00
HUCHAOQI c118e83a2b
修复axios中responseInterceptorsCatch的类型 (#2811)
* fix(table): 使用lodash 的merge来递归assign,优化在多对象嵌套情况下的结构

* fix(view): 修复登入页面点击其他登入方式后返回时视图异常的bug

* fix(util): 修复类型错误
2023-05-30 10:14:02 +08:00
xiaoWangSec 0347c83620
fix: 修复VITE_GLOB_APP_TITLE中不能存在-的问题#1522 (#2794)
* fix #1522

fix #1522

* fix #1522

fix #1522

* fix #1522

fix #1522
2023-05-24 16:42:30 +08:00
Kirk Lin b14a15e66b
refactor: axios Canceler use AbortController (#2676) 2023-04-06 22:03:12 +08:00
Kirk Lin ae5f5cb13c
feat: sync mitt (#2677) 2023-04-06 22:03:00 +08:00
Kirk Lin ccaa84c305
fix: axios type (#2678)
* fix: axios type

* fix: axios type
2023-04-06 22:02:42 +08:00
vben 8e5a6b7ce5 perf: 修复部分 eslint 错误 2023-04-05 22:47:14 +08:00
vben 279977b817 feat: 逐步抽离部分包到packages 2023-04-05 22:29:16 +08:00
vben aedb8e53aa perf: 优化env字段 2023-04-05 15:58:03 +08:00
vben 5e99463cd0 perf: Refactor vite configuration 2023-04-05 00:20:48 +08:00
vben c2590cbfb5 Merge branch 'main' of https://github.com/anncwb/vue-vben-admin 2023-04-04 17:14:06 +08:00
Cherelle Spencer 4418eccfab
fix(deepMerge): 修复递归合并操作, 合并数组未去重的bug (#2667)
Co-authored-by: 苗大 <caoshengmiao@hypergryph.com>
2023-04-04 16:59:30 +08:00
Cherelle Spencer 02d41197b6
fix: propTypes.extend()方法已经废弃, 改为官方推荐的ES6+方法 (#2670)
Co-authored-by: 苗大 <caoshengmiao@hypergryph.com>
2023-04-04 16:59:19 +08:00
vben ba2415c3b4 chore: Extract lint config 2023-04-04 16:55:34 +08:00
Kirk Lin 4c63b1abb7
refactor: deepMerge (#2649) 2023-03-28 21:34:11 +08:00
前端爱码士 7f5e415da9
fix: 修复deepMerge方法问题 (#2597) 2023-03-04 14:08:13 +08:00