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
tttleon
c70cf3cace
fix 主动调用 axioscancelToken 的 cancel 取消请求时 无效的问题 ( #2586 )
...
cancelToken 如果被深拷贝,会导致最外层无法使用cancel方法来取消请求
2023-02-27 12:51:51 +08:00
luocong2016
d6fdfd9f93
fix<utils>: Color Regular Error ( #2567 )
2023-02-22 18:30:46 +08:00
luocong2016
92cc603680
chore: fix type ( #2516 )
2023-02-05 16:32:44 +08:00
Cyrus Zhou
1657439569
修复 updateSchema 多个field 属性时,第二个无效问题。 ( #2493 )
...
* Table BasicColumn 添加 editDynamicDisabled
Co-authored-by: Cyrus Zhou <6802207@qq.com>
使用方式同 Form FormSchema dynamicDisabled
```
export const Columns: BasicColumn[] = [
{
title: 'Title',
dataIndex: 'Title',
editRow: true,
editComponent: 'Select',
editDynamicDisabled: ({ record }) => record.isDisabled,
},
* editComponentProps onChange 功能恢复
Co-authored-by: Cyrus Zhou <6802207@qq.com>
说明:
...omit(compProps, 'onChange')
这会忽略 onChange ,导致 editComponentProps onChange 被取消
如下功能将不支持:
```
editComponentProps: ({ record }) => {
return {
options: effectTypeData,
onChange: () => {
},
};
},
```
* tableData == null 报错
* ApiSelect 第一次选择触发required错误提示问题
* 恢复 虽然可以解决第一次选择提示报错问题,但是会导致 onChange: (e: any, options: any) => 无法获得 options 的值
* 修复标签页切换灰屏不显示内容问题
Co-authored-by: Cyrus Zhou <6802207@qq.com>
问题描述页面没有用 div 包括 会提示 Component inside <Transition> renders non-element root node that cannot be animated ,
导致页灰屏必须刷新页面才可以显示内容
* 添加 Form ApiTransfer
## 使用方式
api 方式:
```
......
component: 'ApiTransfer',
componentProps: {
api: sysUserSelector,
labelField: 'name',
valueField: 'id',
},
.....
```
数据方式:
```
....
componentProps: {
dataSource: [
{ title: 'Test01', key: '0', disabled: false, description: 'description 01' },
{ title: 'Test02', key: '1', disabled: false, description: 'description 02' },
{ title: 'Test03', key: '2', disabled: false, description: 'description 03' },
{ title: 'Test04', key: '3', disabled: false, description: 'description 04' },
{ title: 'Test05', key: '4', disabled: false, description: 'description 05' },
],
},
....
```
* style: eslint 书写规范
* fix: 频繁切换页面导致灰屏
* fix: 修复 updateSchema 多个field 属性时,第二个无效问题。
如:
```
updateSchema([
{
field: 'password',
ifShow: !unref(isUpdate),
},
{
field: 'confirm',
ifShow: !unref(isUpdate),
},
]);
```
Co-authored-by: CyrusZhou <6802207@qq.com>
2023-01-18 11:17:44 +08:00
mfish
ce030d2d1d
axiosRetry参数首字母小写 ( #2419 )
...
* feat(axiosSuccess): 操作成功后根据传入提示模式进行相应
* fix(axiosRetry): 解决get重试请求返回的headers造成无法成功请求的问题
* fix(axiosRetry): 参数首字母小写
2022-11-24 18:16:34 +08:00
mfish
43c8bf0d0b
解决get重试请求返回的headers造成无法成功请求的问题 ( #2416 )
...
* feat(axiosSuccess): 操作成功后根据传入提示模式进行相应
* fix(axiosRetry): 解决get重试请求返回的headers造成无法成功请求的问题
2022-11-24 06:45:28 +08:00
coder_Q
bc099041ce
style: optimize the way success hints are encoded in transformRespons… ( #2411 )
...
* style: optimize the way success hints are encoded in transformResponseHook #2410
* style: move to introduce location
Co-authored-by: 邱子建 <qiuzijian@qiuzijiandeMacBook-Air.local>
2022-11-24 06:44:53 +08:00
hunshcn
5539190c39
fix(utils): fix dateUtil.formatToDate/formatToDateTime ts type ( #2354 )
2022-11-11 09:52:30 +08:00
hunshcn
384f929443
fix(utils): fix dateUtil.formatToDate ts type ( #2345 )
2022-11-10 11:58:33 +08:00
前端爱码士
9ba15705b5
fix: 统一errorMessageMode值为单引号 ( #2343 )
2022-11-10 11:58:14 +08:00
ludens blunt
df0e0cbe69
Update index.ts ( #2336 )
...
fix(deepMerge): 原对象受浅拷贝影响的问题
2022-11-08 09:06:24 +08:00
mfish
17d16ae545
feat(axiosSuccess): 操作成功后根据传入提示模式进行相应 ( #2326 )
2022-11-06 06:55:07 +08:00
无木
513ccb9543
fix(route): url with hash not work. fixed #2301 #1311 #1253
2022-10-29 10:35:36 +08:00
Luke
b1f78c6696
fix: 取消重复请求,错误处理 ( #2184 )
2022-10-16 14:22:59 +08:00
newplum
442bd440ba
fix(axios): 非GET请求时增加判断config.data是否为FormData ( #2082 )
2022-07-19 12:10:06 +08:00
sevth
266c33819f
fix: 修复使用 extendSlots 时插槽参数未传递的问题。 ( #2056 )
...
Co-authored-by: sevth <pengqiang@vastweb>
2022-07-10 18:27:56 +08:00
Wit〆苗大
6f5711b088
fix(is.ts): 修复isUrl正则不能匹配到 hash模式的外链 的问题 ( #2051 )
...
Co-authored-by: 苗大 <v.caoshm@yoozoo.com>
2022-07-07 15:42:50 +08:00
Tianyuan Zhang
c0e40fa01e
refactor: update class AxiosTransform ( #2041 )
...
rename transformRequestHook to transformResponseHook
2022-07-07 15:39:48 +08:00
Wit〆苗大
91e13c4287
fix(is.ts): fix#2028 修复isUrl正则可以匹配到/www问题 ( #2033 )
...
Co-authored-by: 苗大 <v.caoshm@yoozoo.com>
2022-07-05 11:56:45 +08:00
Jim
19dc88b4e0
docs: 添加注释, 修复 ( #1927 )
...
* docs: 添加注释
* docs: 添加注释
* fix: 后台动态权限changePermissionCode加上await
* docs: 添加注释
* docs: 添加注释
* docs: 添加注释
* docs: 添加注释
* docs: 添加注释
2022-06-16 19:02:10 +08:00
山田
c3b5abc392
fix(echarts): 修复无法使用散点图表 ( #1880 )
2022-05-20 18:01:14 +08:00
zuihou
419b7aea07
fix(axios): 请求异常时,无法正确执行 catch
2022-05-06 10:39:46 +08:00
chenls
0c633ff67d
fix: Set cache overflow of the setTimeout Maximum delay value ( #1742 )
2022-03-25 23:40:15 +08:00
jianjianxu
a542317dc3
fix: wrong item.time without the "expires" ( #1740 )
2022-03-23 22:31:50 +08:00