nalomu
7e77177ed8
fix:修复header下拉菜单和外部页面菜单的文档链接 ( #2500 )
2023-01-18 11:16:15 +08:00
前端爱码士
bb1fee5885
fix: 修复table组件insertTableDataRecord方法的返回类型 ( #2490 )
2023-01-18 11:16:04 +08:00
1xuanyuan1
53b2b23620
fix: 修复权限切换不生效问题 ( #2488 )
...
Co-authored-by: 戴文俊 <daiwenjun@qutoutiao.net>
2023-01-18 11:15:46 +08:00
vivianma83
4c67d8c388
feat: 使用useForm时调用setFieldsValue后,组件的onChange未主动触发 ( #2142 ) ( #2503 )
...
Co-authored-by: maxiaojing <maxiaojing@hashdata.cn>
2023-01-18 11:15:16 +08:00
mfish
26bd4aeba6
解决隐藏菜单目录只能隐藏第一层目录的问题,递归隐藏所有子菜单 ( #2484 )
...
* feat(axiosSuccess): 操作成功后根据传入提示模式进行相应
* fix(axiosRetry): 解决get重试请求返回的headers造成无法成功请求的问题
* fix(axiosRetry): 参数首字母小写
* fix(useDataSource): 解决deleteTableRecord删除树形表格的行记录时,无法删除,无法找到子节点的问题
* feat(useDataSource): 删除之前提交代码遗留的console
* fix(permissionGuard): 当获取用户信息失败时,不允许正常登陆返回登陆界面
* fix(permissionGuard): 代码还原
* fix(menu): 解决隐藏菜单目录只能隐藏第一层目录的问题,递归隐藏所有子菜单
2023-01-07 03:08:52 +08:00
yuh
61d6057fa4
fix: 裁剪上传接口与uploadModal统一:url ( #2482 )
2023-01-03 20:13:46 +08:00
李勇
9090cee184
fix: table-datasource,如果后端返回的page total是字符串,会导致页码乱掉 ( #2483 )
2023-01-03 20:13:26 +08:00
Vinton
31042de6bc
perf(component): 优化table 组件的insertTableDataRecord的方法,增加批量插入的功能。 ( #2481 )
...
Co-authored-by: huangwentao <huangwentao@dianchu.com>
2023-01-01 17:25:10 +08:00
ruxue777
aabafe8610
fix(components): [Table,EditableCell] rename Function ( #2466 )
2022-12-27 12:11:59 +08:00
Vinton
098621892d
perf(component): 1.优化appendSchemaByField只能单一添加一个表单项的问题,可以传入数组表单项,统一添加,减少重复方法调用 2. 增加批量添加表单项demo ( #2472 )
2022-12-22 21:36:36 +08:00
sevth
582d7e7351
fix: table cell edit bug. ( #2465 )
2022-12-18 19:54:39 +08:00
mfish
ca487426a1
删除之前遗留的console ( #2463 )
...
* feat(axiosSuccess): 操作成功后根据传入提示模式进行相应
* fix(axiosRetry): 解决get重试请求返回的headers造成无法成功请求的问题
* fix(axiosRetry): 参数首字母小写
* fix(useDataSource): 解决deleteTableRecord删除树形表格的行记录时,无法删除,无法找到子节点的问题
* feat(useDataSource): 删除之前提交代码遗留的console
2022-12-18 19:53:55 +08:00
mfish
9435b480ab
解决deleteTableRecord删除树形表格的行记录时,无法删除,无法找到子节点的问题 ( #2461 )
...
* feat(axiosSuccess): 操作成功后根据传入提示模式进行相应
* fix(axiosRetry): 解决get重试请求返回的headers造成无法成功请求的问题
* fix(axiosRetry): 参数首字母小写
* fix(useDataSource): 解决deleteTableRecord删除树形表格的行记录时,无法删除,无法找到子节点的问题
2022-12-15 18:30:44 +08:00
李勇
8c2ba755c1
fix:增加basictable组件name,防止注册组件的时候组件没有name ( #2440 )
2022-12-07 17:12:09 +08:00
Little-LittleProgrammer
c7639c4909
fix(basicForm): Fixed an issue where custom rules trigger would not take effect ( #2439 )
...
Co-authored-by: 吴安乐 <wuanle@qimao.com>
2022-12-07 17:11:42 +08:00
wangzhi
6af828260e
Update index.vue ( #2433 )
...
下面这块代码 在我的项目打包后在比较宽的屏幕(2K 31 寸)有显示 bug 两边会出现大面积空白, 有偶发性 清缓存首次进入会出现 , 刷新就没了, 这里为什么要指定宽度 ?
2022-12-02 09:39:29 +08:00
前端爱码士
5a9a8644d6
fix: 修复Form组件emptySpan类型定义错误 ( #2432 )
2022-12-01 13:04:46 +08:00
Vinton
0bb3b7f90d
fix: 修复频繁调用_setDefaultValue方法,设置初始值的时候,多次调用失效的问题 ( #2431 )
...
Co-authored-by: huangwentao <huangwentao@dianchu.com>
2022-12-01 13:04:31 +08:00
yaoyylm
87ee7cd27a
处理(Warning 'Use of eval is strongly discouraged')警告 ( #2424 )
2022-11-25 08:42:02 +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
前端爱码士
0629cc7b14
fix: 修复表格图片插槽margin不生效问题 ( #2400 )
2022-11-22 10:56:24 +08:00
tnnevol
4e16438494
fix : #2390 [Preview]缩小后scale为负值 ( #2391 )
2022-11-17 23:51:34 +08:00
WYH
6844f69c20
fix: 修复demo中formTable几个空指针报错和selectedRowKeys丢失响应式的问题 ( #2386 )
...
Co-authored-by: 王一骅 <wangyihua@yazuishou.com>
2022-11-16 17:19:27 +08:00
smilv
2d2a265418
fix: views中country目录不存在 ( #2383 )
2022-11-15 18:12:00 +08:00
johnshi
e05a009989
加载失败显示图像占位符。 ( #2381 )
...
* 加载失败显示图像占位符。
* fix: 更新package.json
2022-11-15 18:11:43 +08:00
zreren
7fad00cb77
The link of document had been expired ( #2378 )
...
* fix:doc link expired
* fix:doc link expired
2022-11-15 08:12:15 +08:00
前端爱码士
a12c5706e8
fix: 修复props默认字段default返回空对象语法问题 ( #2369 )
2022-11-14 11:54:30 +08:00
Wit〆苗大
6fa35521b7
fix: props 定义默认值拼写错误 defualt => default ( #2362 )
...
* fix: props 初始化拼写错误 defualt => default
* fix: props 定义默认值拼写错误 defualt => default
Co-authored-by: 苗大 <caoshengmiao@hypergryph.com>
2022-11-12 00:19:58 +08:00
前端爱码士
00c446efff
fix: 修复导入相同excel文件不发生change事件 ( #2356 )
2022-11-12 00:19:44 +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
destiny
d16f6f8e44
fix(component): 解决导出excel数据某一项为null时计算宽度报错 ( #2338 )
2022-11-09 09:58:30 +08:00
Corn
fc2e2c8789
fix: fix typo ( #2337 )
2022-11-08 09:06:54 +08:00
ludens blunt
df0e0cbe69
Update index.ts ( #2336 )
...
fix(deepMerge): 原对象受浅拷贝影响的问题
2022-11-08 09:06:24 +08:00
Wit〆苗大
7dcb38cac6
fix(BasicTable): setSelectedRows 引入但未加入 tableAction ( #2332 )
...
Co-authored-by: 苗大 <caoshengmiao@hypergryph.com>
2022-11-08 09:06:08 +08:00
zxiaozhou
eda251a426
表格添加一个setRows方法以便数据回显后重新获取数据 ( #2327 )
2022-11-06 06:55:39 +08:00
mfish
17d16ae545
feat(axiosSuccess): 操作成功后根据传入提示模式进行相应 ( #2326 )
2022-11-06 06:55:07 +08:00
Wit〆苗大
9ae67bf9ca
fix: inputNumberGroup(前置/后置标签) span 不起作用的问题,增加样式之后可以根据Span动态适应 ( #2325 )
2022-11-04 23:45:57 +08:00
无木
1bafeb6638
fix(fullscreen): fix judging full screen status, fixed #2281
2022-10-31 13:12:23 +08:00
无木
fd57b83db6
fix(basicTree): checked with searching, fixed #2070
2022-10-29 10:47:12 +08:00
无木
513ccb9543
fix(route): url with hash not work. fixed #2301 #1311 #1253
2022-10-29 10:35:36 +08:00
无木
e962fa039a
fix: auto resize echart on menu collapsed, fixed #2265
2022-10-29 10:05:44 +08:00
无木
58b30aae9a
refactor: form advanced logic,fixed #2124 , #2078,#2089 . follow #2125
2022-10-29 09:37:39 +08:00
无木
4f9cdc5634
fix(table): rollback value on cancel editing, fixed:#2309
2022-10-28 13:47:06 +08:00
无木
5292838fcd
fix(apiSelect): remove attribute warning, fixed #2247
2022-10-28 13:31:43 +08:00
前端爱码士
fd9450304d
fix: 关闭非当前的标签没有同步清理cacheTabList数据 ( #2306 )
2022-10-25 08:49:06 +08:00
sevth
bc499744c0
feat(Form): 支持filedMapToTime
分别格式化时间,支持配置时间相关组件默认值处理开关,当组件配置valueFormat
时,默认值绑定不再是moment
对象,此时应关闭默认值的转换处理 ( #2305 )
...
* fix: 修复使用 extendSlots 时插槽参数未传递的问题。
* feat(Form): `fieldMapToTime`additional time formatting support separately.
* fix(Form): Add `isHandleDateDefaultValue` property.
Co-authored-by: sevth <pengqiang@vastweb>
2022-10-25 08:48:47 +08:00
Sizhu Wang
c8b169494f
fix(form): 修复表单fieldMapToTime对应的值为空仍提交原来的字段值 ( #2303 )
2022-10-25 08:48:29 +08:00
sedice
c1d3a94371
refactor: 重构button代码props的引入方式,获取更优雅的类型提示 ( #2302 )
...
Co-authored-by: zengqinglong <1107238436@qq.com>
2022-10-23 03:17:50 +08:00
CherishTao
0eb1275c34
Update layout.ts ( #2298 )
2022-10-23 03:16:50 +08:00
Wit〆苗大
e08a155c40
feat(EditableCell): table 可编辑单元格和可编辑行 增加 单选框相关组件, 并增加示例 ( #2294 )
...
Co-authored-by: 苗大 <caoshengmiao@hypergryph.com>
2022-10-20 06:57:56 +08:00
前端爱码士
c37a15fefb
fix: 修复getParentLayout方法接受了参数,但并没有用上 ( #2290 )
2022-10-19 13:34:58 +08:00
JinMao
768fadbffb
fix: Form method name field
2022-10-18 14:47:50 +08:00
前端爱码士
9aa2cf3ebf
fix: 修复单词拼写错误,replace 'Filed' width 'Feild' ( #2285 )
2022-10-17 09:07:09 +08:00
Luke
b1f78c6696
fix: 取消重复请求,错误处理 ( #2184 )
2022-10-16 14:22:59 +08:00
zhangcheng1164
dda27477af
fix: 修复ColumnSetting中列展示复选框在所有普通列都处于选中状态时没有处于选中状态的bug ( #2278 ) ( #2280 )
2022-10-14 23:41:41 +08:00
姚文强
a89ba204eb
fix typo ( #2266 )
2022-10-12 16:18:33 +08:00
Lovell Liu
a45208673a
Fix/workbech page ( #2264 )
...
* fix: fix display issues when reloading page
* feat: change a fit color for js-logo icon
* fix: prevent layout chaos because of text wrap
2022-10-12 16:17:42 +08:00
wangkang
99326342bc
表格查询条件下拉框文本超长显示错乱 ( #2242 )
...
* Update index.less
fix: 下拉框文本超长显示问题修改
* Update BasicTable.vue
fix: 表格查询条件下拉框文本超长显示错乱
2022-10-02 06:12:14 +08:00
acdxxx177
dfe560a542
perf: 头像上传组件返回值增加后端接口的返回值 ( #2244 )
2022-10-02 06:12:01 +08:00
wujieli
692df33fd8
types(components): ApiTransfer props 类型错误,删除多余属性 ( #2197 )
2022-09-29 13:49:44 +08:00
c37csq
9316d950b1
fix: excel export set width ( #2206 )
2022-09-29 13:49:32 +08:00
MrAlenZhong
5abb0f2b37
feat: 对BaseTree组件新增treeWrapperClassName属性 ( #2217 )
2022-09-29 13:49:17 +08:00
wangkang
e47c618b18
Update index.less ( #2237 )
...
fix: 下拉框文本超长显示问题修改
2022-09-29 13:49:01 +08:00
adeewu
2abc8275c6
修复调试位置与代码映射位置不一致问题 ( #2228 )
2022-09-29 13:48:50 +08:00
Aborn Jiang
f1d42769ea
Update table.ts ( #2223 )
...
兼容row key有可能为number的情况
2022-09-29 13:48:35 +08:00
前端爱码士
dac9301af4
fix: 右键组件缺少PropType类型引用 ( #2129 )
...
右键组件缺少PropType类型引用
2022-08-05 11:12:26 +08:00
wjc112233
20c10df846
fix: 修改BasicForm表单的展开和收起按钮状态错误的bug ( #2089 ) ( #2109 )
...
Co-authored-by: wjc <7098544231@qq.com>
2022-07-23 19:27:39 +08:00
wjc112233
b11df08aa4
fix: 修复SimpleSubMenu组件被意外地重新渲染的bug ( #2106 ) ( #2108 )
...
Co-authored-by: wjc <7098544231@qq.com>
2022-07-23 19:26:33 +08:00
BlackTooth
6e391af3fe
fix(keep-alive): disabler ( #2101 )
...
Co-authored-by: 隆杰 <longjie.li@taxsoyea.net>
2022-07-23 19:25:15 +08:00
Name6
7925c1ea28
fix(Login): fix display issues when AppLocalePicker's showText property is true ( #2097 )
2022-07-23 19:24:38 +08:00
newplum
442bd440ba
fix(axios): 非GET请求时增加判断config.data是否为FormData ( #2082 )
2022-07-19 12:10:06 +08:00
wjc112233
4a4321a77d
fix: 修改表格的resizeColumn事件的回调函数中,修改列宽度无效的bug (vbenjs#2073) ( #2081 )
...
Co-authored-by: wjc <7098544231@qq.com>
2022-07-19 12:09:45 +08:00
Arvin
aee08b14fa
Revert "style: 优化滚动条显示,只有在内容超过显示高度时才会出现 ( #1978 )" ( #2080 )
...
This reverts commit deff31bc5d
.
2022-07-19 12:09:12 +08:00
zuihou
b9dee8595f
feat: 复现:表格中增加比较多的列,且加了rowSelection后,表格错位问题
2022-07-13 19:05:42 +08:00
zuihou
a753eb35cb
feat: 表格中增加比较多的列,复现表格错位问题
2022-07-13 18:37:05 +08:00
vancenlee
9afb4318fd
fix: inputnumber span 不起作用的问题,增加样式之后可以根据Span动态适应 ( #2065 )
...
Co-authored-by: van <vancnblog@126.com>
2022-07-10 18:29:37 +08:00
Henry
baa42a57fd
fix: 使用枚举属性表示mock的响应状态 ( #2062 )
2022-07-10 18:29:21 +08:00
Arvin
6981b73ef6
fix: fix table header and table body cannot be aligned ( #2058 )
...
* fix: fix wrong naming
* perf: 表单设置初始值defaultValue时候使用深度拷贝
* perf: 表单设置初始值defaultValue时候使用深度拷贝
* Revert "perf: 表单设置初始值defaultValue时候使用深度拷贝"
This reverts commit a103cd11b4
.
* perf: perf Tree Component
* fix: 解决tree树形异步懒加载,点击两次才能关闭
* fix: fix table header and table body cannot be aligned
Co-authored-by: yfh01 <unconfigured@null.spigotmc.org>
2022-07-10 18:28:52 +08:00
sevth
266c33819f
fix: 修复使用 extendSlots 时插槽参数未传递的问题。 ( #2056 )
...
Co-authored-by: sevth <pengqiang@vastweb>
2022-07-10 18:27:56 +08:00
cn.shperry
f305637366
fix: 中文模式下日期选择框月份及星期异常显示英文 ( #1406 ). ( #2053 )
...
Co-authored-by: 舒培培 <622292@ky-tech.com.cn>
2022-07-10 18:26:55 +08:00
Cyrus Zhou
40071529d2
添加 Form ApiTransfer , 修复标签页切换灰屏不显示内容问题 ( #2052 )
...
* 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' },
],
},
....
```
2022-07-10 18:26:39 +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
quyanan
bc55b92c9b
fix(expandtable): 恢复可展开表格Demo,修复开启可展开表格后横向滚动失效问题 ( #2050 )
...
Co-authored-by: jinmao88 <50581550+jinmao88@users.noreply.github.com>
2022-07-07 15:42:30 +08:00
fuling
f1e8e241b1
feat: ImportExcel组件增加直接获取文件功能,方便后端处理大Excel文件。 ( #2045 )
...
* style: 优化系统管理中账号、角色和部门表单样式
* feat: ImportExcel组件增加直接获取文件功能,方便后端处理大Excel文件。
Co-authored-by: 发光的卤蛋 <zdxndy@qq.com>
2022-07-07 15:41:25 +08:00
muamuamu
5833043d14
fix(useRedo): 重新加载页面useRedo方法会添加一条浏览记录 ( #2043 )
2022-07-07 15:41:08 +08:00
GauharChan
35f2d074ae
fix: 修复#2030改动引起的可展开table失效 ( #2042 )
2022-07-07 15:40:33 +08:00
Tianyuan Zhang
c0e40fa01e
refactor: update class AxiosTransform ( #2041 )
...
rename transformRequestHook to transformResponseHook
2022-07-07 15:39:48 +08:00
wjc112233
ddb678ddfa
fix: fix#2031 修复表格可编辑行在编辑模式下,无法处理数组类型的值的问题 ( #2035 )
...
Co-authored-by: wjc <7098544231@qq.com>
2022-07-05 11:56:58 +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
Wit〆苗大
de7279399d
fix(table): 彻底修复column.slots已废弃的antd报错, 所有用到的demo页修改为antd 3.x v-slot:headerCell 和 v-slot:bodyCell 写法 ( #2030 )
...
Co-authored-by: 苗大 <v.caoshm@yoozoo.com>
2022-07-05 11:56:29 +08:00
Wit〆苗大
a89e497e82
fix: markdown深色模式内容区和代码块未适配bug; markdownViewer改为vidtor自带预览模式 ( #2023 )
...
* fix(Markdown): 修复深色模式 内容区和代码块 未改变主题bug
* perf(Markdown): MarkDown组件示例增加不同功能示例; 切换深色主题按钮 同时改变 内容区和代码块主题
* perf(MarkdownViewer): MarkdownViewer改为vditor自带的预览模式; 同时适配深色模式
Co-authored-by: 苗大 <v.caoshm@yoozoo.com>
2022-07-05 11:55:26 +08:00
BlackTooth
0f50e0458e
fix(useTableFooter): not synchronization scroll bug ( #2022 )
...
Co-authored-by: 隆杰 <longjie.li@taxsoyea.net>
2022-07-05 11:43:53 +08:00
Cyrus Zhou
4730b3af31
Table BasicColumn 添加 editDynamicDisabled ( #2018 )
...
* 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 的值
2022-07-05 11:43:34 +08:00
Tanimodori
3cc72d6791
fix: 更新Schema时默认值不应覆盖已有值,fix #1997 ( #2003 )
2022-06-26 12:47:53 +08:00
Tanimodori
fbcba766ae
fix: 修复DrawerFooter border-top导致滚动条出现的问题 ( #2002 )
2022-06-26 12:47:33 +08:00
Kuizuo
1455eb48db
fix: rules validator tips ( #2000 )
2022-06-26 12:46:43 +08:00