xingyu
bab28af986
refactor: components use setup ( #3299 )
...
* refactor: /@/ => @/
* refactor: table demo use script setup
* refactor: change /@/ to @/
2023-11-20 12:27:11 +08:00
zhang
003a951bef
feat(menu): Restore side bar settings and added menu mouse move in mode light style ( #3295 )
...
* feat(menu): Added menu mouse move in style
* feat: 恢复菜单主题设置
* type(setting): change the function name to a more appropriate one
---------
Co-authored-by: invalid w <wangjuesix@gmail.com>
2023-11-18 16:04:52 +08:00
zhang
72ef3df57f
fix(useFormEvent): 修复表单项存在defaultValue时,updateSchema方法会将setFieldsValue设置的值覆盖问题 ( #3287 )
2023-11-17 11:56:04 +08:00
黄小民
3b2760ca3a
fix: defaultValue类型为number时的bug ( #3288 )
2023-11-16 10:00:13 +08:00
bowen
100f3cf26c
fix(BasicForm): validate Form tip height ( #3286 ). close #3281
2023-11-15 09:00:50 +08:00
bowen
2bbc2d2811
perf(IconPicker): input trigger popover by click ( #3278 )
2023-11-15 09:00:03 +08:00
zhang
2991bb1670
perf(ImageUpload): 根据官方示例设置图片回显格式 ( #3252 )
...
* perf(ImageUpload): 根据官方示例设置图片回显格式
* perf(ImageUpload): 优化图片上传组
2023-11-13 13:14:21 +08:00
invalid w
748b99b18f
perf(BasicTree): 获取treeData改写成函数
2023-11-09 09:56:11 +08:00
invalid w
caf1783525
feat(BasicTree): BasicTree组件暴露treeData数据
2023-11-09 09:47:00 +08:00
xachary
71c3fea88a
fix: validateFields await missing ( #3254 )
2023-11-08 11:42:54 +08:00
invalid w
c373ffd3bf
feat(Table-> CustomerCell): helpMessage支持传递 tsx 和 h函数的数据
2023-11-07 11:16:52 +08:00
Kirk Lin
f91d777e4f
refactor: fix type check ( #3246 )
2023-11-07 10:31:32 +08:00
zhang
dccc8f625d
优化Upload组件目录结构,以及图片上传组件 ( #3241 )
...
* fix(vxe-table): theme dark is not work
* perf(ImageUpload): 优化Upload组件目录结构,以及图片上传组件
2023-11-06 18:24:54 +08:00
zhang
031d613b18
fix(vxe-table): theme dark is not work ( #3239 )
2023-11-06 18:24:23 +08:00
zhang
509541d11e
style(theme): resolve ts type error and perf themeColor selected ( #3237 )
...
* perf(useTree): resolve ts type error
* perf(projectSetting): themeColor selected
* perf(dark): fix mode dark component-background-color var is not work
2023-11-04 09:21:18 +08:00
熊丽君
da1f177284
chore: Update TableImg.vue ( #3234 )
...
TableImg Displaying images in the table will result in preview text for other hidden tags AImage
2023-11-04 09:16:37 +08:00
bowen
beed7f2e11
feat(Upload): file list add drag func ( #3227 ). resolve #3179
2023-11-02 11:26:35 +08:00
Jiaxin sugar
bf060376e6
Update ApiSelect.vue ( #3225 )
...
修复 isFirstLoaded 状态没有重置导致 fetch方法只会调用一次
2023-11-02 09:06:49 +08:00
苗大
bb3d5b8ae8
perf(ConfigProvider): 配置antdv主题色, 使其与modifyVars配置一致 ( #3219 )
...
* perf(ConfigProvider): 配置antdv主题, 使其与modifyVars配置一致
* fix(dark): 修正颜色写法
* fix(dark): 修正app-content-background-color深色颜色
* style(BasicTable): row striped style add important
---------
Co-authored-by: 苗大 <caoshengmiao@hypergryph.com>
2023-11-02 09:05:58 +08:00
invalid w
50eac7f353
chore(Table->setting): fix CheckboxGroup onchange event fn type
2023-10-31 16:51:41 +08:00
苗大
e497721e9b
perf(darkMode): 优化深色模式颜色切换相关方法; 增加根据主题更新自定义颜色方法和示例 ( #3216 )
...
* perf(darkMode): 优化深色模式颜色切换相关方法; 增加根据主题更新自定义颜色方法和示例
* revert: 撤销notify组件的样式修改测试
* chore: color pattern error
* chore(theme): remove dead code
---------
Co-authored-by: 苗大 <caoshengmiao@hypergryph.com>
Co-authored-by: invalid w <wangjuesix@gmail.com>
2023-10-31 16:40:08 +08:00
bowen
ed267d9c01
fix(FormItem): use getPopupContainer default value ( #3215 )
2023-10-31 11:43:30 +08:00
invalid w
5b9759710b
chore(ApiSelect): optimize the type of OptionsItem
2023-10-30 16:08:56 +08:00
invalid w
8f900871ac
perf(useForm): If the args of the setFieldsValue is empty, it will not be executed. close #3209
2023-10-30 12:23:43 +08:00
zhang
06a6c947a9
fix(style): 修复黑暗模式下弹框、demo目录下、按钮样式问题 ( #3208 )
...
删除黑暗模式下冗余的样式代码
2023-10-30 08:14:38 +08:00
zhang
4755017bcc
fix: 修复设置抽屉弹框滚动条样式异常 ( #3193 )
2023-10-26 09:25:37 +08:00
invalid w
41451f4fa3
fix(BasicTable): pagination exceeds page height. close #3185
2023-10-25 17:17:27 +08:00
invalid w
6f0a44f528
chore(TableFooter): resolve ts type error
2023-10-24 12:08:57 +08:00
bowen
92875cbecc
fix(tree): remove expandedKeys prop default value ( #3184 )
2023-10-24 10:20:13 +08:00
bowen
e7fbd74228
fix(Upload): The file name is too long bug ( #3182 )
...
* fix(Upload): The file name is too long bug
* fix: preview upload result file name nowrap
* chore: modify i18 to be uploaded
* chore: typing & i18n
---------
Co-authored-by: Li Kui <90845831+likui628@users.noreply.github.com>
2023-10-23 15:32:04 +08:00
zhang
87224715c3
feat: 增加文本省略组件 ( #3180 )
...
* feat: 增加文本省略组件
* refactor: 重构文本省略组件
* feat: 增加远程懒加载下拉树功能
2023-10-23 14:42:56 +08:00
1455668754
b776ac4cd8
feat: Form增加ImageUpload组件 ( #3172 )
...
* feat: Form增加图片上传组件
* fix: 还原表单组件引用
* chore: ImageUpload demo
* chore: update ImageUpload demo
* fix: 'visible' will be removed in next major version
* chore: 修改api接口返回值参数
---------
Co-authored-by: Li Kui <90845831+likui628@users.noreply.github.com>
2023-10-21 19:29:53 +08:00
invalid w
a0b2a9e949
fix(BasicTree): not inherit slot and not show icon slot. close #1902
2023-10-21 11:48:38 +08:00
invalid w
7b87d6d29e
chore(BasicTable): resolve BasicTable component ts type error
2023-10-20 17:15:05 +08:00
invalid w
3d0b88708e
chore(BasicTree): Resolve ts type error
2023-10-20 16:47:03 +08:00
Li Kui
c42ba1cc1b
fix(ApiCascader): apiParamKey not working
2023-10-20 13:34:48 +08:00
invalid w
2ec5f6322d
fix(Menu): tab标签切换选中状态焦点重复. fix #1681
2023-10-20 12:00:05 +08:00
bowen
83aa1da3de
fix: SimpleRootMenuContextProps type error ( #3176 )
2023-10-20 09:55:34 +08:00
invalid w
882270d5ba
fix(ApiTree): 多触发一次onchange
2023-10-19 10:52:30 +08:00
invalid w
b103c64954
chore(ApiSelect): 该组件设定成手动触发验证
2023-10-19 10:41:11 +08:00
Li Kui
0f2c2eabd6
fix(ApiSelect): BasicForm emit ield-value-change twice
2023-10-18 21:06:10 +08:00
bowen
bbc2ede1aa
chore: fix type:check error ( #3169 )
2023-10-18 19:24:26 +08:00
invalid w
0cf79d4ce2
fix(ApiSelect): Incorrect value type definition. close #3168
2023-10-18 17:24:32 +08:00
Li Kui
8df2590aae
fix(BasicTable): headerCell slot title not exist
2023-10-18 10:11:57 +08:00
invalid w
b3a6ef63bb
feat(Menu): Add custom images to menu ( #3158 )
...
* feat(SimpleMenu): Add custom images to menu icons
* style: Set image and text alignment
* feat: 顶部菜单模式路由也支持图片
* feat(mixSilder): 左侧菜单混合模式也支持图片显示
* style(menu): 调整图片对齐样式
* chore(Menu): 调整图片与文字间距样式
* chore: icon和img都传值的情况下, 仅显示img
2023-10-17 12:28:15 +08:00
bowen
18222ab0b6
chore: fix type:check error ( #3159 )
2023-10-17 09:29:43 +08:00
Li Kui
0bb76a86d2
fix(BasicForm): useForm 中 scheme 选项 slot 与 component冲突 ( #3133 )
...
* fix(BasicForm): useForm 中 scheme 选项 slot 与 component冲突
* chore: add type-predicate utils
* chore: add FormSchemaInner type
2023-10-16 16:56:26 +08:00
Li Kui
8f6153fd2a
fix(ApiSelect): type warning
2023-10-14 21:05:43 +08:00
invalid w
a0d4b10a1f
feat(ApiTree): 完善ApiTree组件的重置回显功能. close #2307
2023-10-14 16:57:40 +08:00
invalid w
094a33c0c2
fix(ApiTree): Modify Trigger Selection Event Name
2023-10-14 11:18:48 +08:00
黄小民
95ca2c3ae6
fix: ApiTransfer 不支持disabled ( #3149 )
2023-10-13 18:00:14 +08:00
黄小民
8e9d4f0a57
fix : #3144 Drawer的footer样式错位问题 ( #3148 )
...
fix : #3144 Drawer的footer样式错位问题
2023-10-13 17:33:03 +08:00
invalid w
5aac032acc
feat(BasicButton): BasicButton组件支持icon插槽. close #1377
2023-10-13 17:26:07 +08:00
invalid w
f5f7952515
chore(Pagination): Remove the unnecessary pagesize attribute
2023-10-13 17:10:03 +08:00
wuzhican
4b46be4a79
Pr/code editor boardered ( #3142 )
...
* feat: 为CodeEditor添加bordered属性
* fix: 去除重复的ant-inputclass
---------
Co-authored-by: wuzhican <3245076860@qq.com>
2023-10-12 17:16:54 +08:00
bowen
f87e078402
chore: fix type:check error ( #3139 )
2023-10-12 14:50:32 +08:00
bowen
4d02205839
fix(customExport): Failure to export ( #3137 )
2023-10-12 09:20:56 +08:00
Li Kui
5a388be15e
fix(BasicForm): type instantiation is excessively deep and possibly infinite. ( #3128 )
2023-10-10 22:35:41 +08:00
bowen
30b3ee5c89
chore: fix type:check error ( #3126 )
...
* chore: Fix ts type error
* chore: fix type:check error
2023-10-10 21:06:16 +08:00
Li Kui
8b13f62995
fix(Editor): ts类型错误
2023-10-10 13:28:34 +08:00
invalid w
025cf98f4b
chore(MenuItem): watch回调参数类型不一致
2023-10-10 12:25:06 +08:00
invalid w
6e33c26893
fix(SimpleMenuTag): SimpleMenuTag的引用都改为动态组件引用,以消除打包警告.close #3121
2023-10-10 12:23:39 +08:00
黄小民
aa03c87383
fix: ScrollContainer的一个问题 #3046 ( #3119 )
2023-10-10 11:39:12 +08:00
invalid w
f5ce480f0f
fix(StrengthMeter): change事件应随handleChange一起抛出。close #3118
2023-10-10 11:30:37 +08:00
invalid w
71c43945a5
fix(EditCellTable): 表格编辑行在使用Switch,checkedValue为数字时无法切换开关.close #2560
2023-10-09 18:20:11 +08:00
bowen
8289332214
chore: Fix ts type error ( #3112 )
2023-10-09 15:12:23 +08:00
invalid w
e25af8dd8c
chore(useFormEvents): 消除checkIsRangeSlider 校验类型错误
2023-10-09 11:37:59 +08:00
invalid w
9c6b271097
chore(Form): 消除antd升级导致类型文件引用错误
2023-10-08 18:30:50 +08:00
invalid w
ec33820bf9
chore(Preview): 消除 onerror 参数类型错误
2023-10-08 18:25:11 +08:00
invalid w
a5a11fb846
chore(Preview):消除Preview Options的函数定义类型错误
2023-10-08 18:20:18 +08:00
invalid w
d84f6ef562
chore(Loading): 消除loading组件及示例类型问题
2023-10-08 18:07:42 +08:00
invalid w
ba5809669d
chore(useCustomRow): 消除find tr函数类型错误
2023-10-08 17:54:53 +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
986430513b
fix: tabel取消编辑单元格后会回到初始值. close #2739 ( #3108 )
2023-10-08 16:15:07 +08:00
invalid w
1519f47f7d
fix(ApiSelect): 移除watchEffect引发的重复请求 ( #3107 )
2023-10-08 15:25:49 +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
invalid w
18f55833e2
fix: 多选框必填选中校验异常,close #3097 ( #3103 )
2023-10-07 16:37:58 +08:00
1455668754
a3b9ff04f9
修正日期区间拆解时数据为null时异常问题/修正validate|validateFields时,未将对象型数据进行转换 ( #3096 )
...
* fix: 修正日期区间拆解时数据为null时异常问题
* fix: 修正validate|validateFields时,未将对象型数据进行转换
2023-10-06 10:02:18 +08:00
黄小民
c0c3116193
fix : #3077 最新代码 ApiTransfer编辑后无法正常显示数据 ( #3083 )
2023-09-27 17:56:31 +08:00
invalid w
a63a10c047
fix: 修复rule validator类型默认为string,导致 radio 等组件在 setFormValues 时,如果值不是string类型,提示校验错误
2023-09-27 16:38:59 +08:00
invalid w
b78f06898f
chore(ApiTree): 移除无用的suffixIcon slot, ant的tree组件并没有提供这个slot
2023-09-27 10:13:41 +08:00
invalid w
a7ee3367e5
chore: rm unused watchEffect
2023-09-27 10:08:47 +08:00
invalid w
b3b2ca0738
chore(ApiTree): 消除绑定属性的类型错误
2023-09-27 10:02:21 +08:00
smirkQAQ
aa6168fe20
fix: Fix context menu style not working ( #3075 )
2023-09-27 08:18:38 +08:00
invalid w
855a410557
style(Modal): modal全屏模式 ant 的modal-footer margin-top调整为0 ( #3072 )
2023-09-26 09:41:44 +08:00
invalid w
b1559e2cad
fix(ApiSelect): ApiSelect首次选择值时仍然提示校验, fix #3065 ( #3071 )
2023-09-26 09:41:34 +08:00
invalid w
c5d24e07f0
Chore: 处理了Vben封装的Drawer,Modal组件的一些类型错误 ( #3064 )
...
* chore: rm unuse params
* chore(Modal): getCurrentInstance的uid类型为number
* chore(Drawer): 调整drawer组件的一些类型问题
* chore(Drawer): 移除多余的classname配置
* chore(Drawer): 修复getContainer和antd4 drawer组件类型不一致
* fix(AppSearchModal): 调整setRefs函数的类型
2023-09-26 09:41:25 +08:00
林飞
1cf2a81f2a
feat(table): 表格拖拽列改变宽度
...
* feat(funcation): update 修复表格无法拖拽列改变宽度
* feat(function): add 完善可伸缩列
---------
Co-authored-by: gavin-james <meaganlindesy1258@gmail.com>
2023-09-22 10:35:30 +08:00
invalid w
dbdd811705
feat(style): 使用Antd组件提供的切换主题功能 ( #3051 )
...
* perf(style): 使用antd4的暗黑主题
* refactor: 抽离切换暗黑主题模式
2023-09-21 10:40:09 +08:00
zmcode
a6b65b58a1
feat: 解决Form组件slot必须传递component字段才显示的问题 ( #3049 )
...
feat: 解决Form组件slot必须传递component字段才显示的问题
2023-09-21 10:39:44 +08:00
invalid w
e4778757ad
style(TableColumn): fix Column settings container is too wide #3043 ( #3044 )
2023-09-20 08:16:38 +08:00
Li Kui
4aaddef06f
fix: type check failed for prop 'onClick' ( #3038 )
2023-09-18 10:04:15 +08:00
open-carp
74a2f6209f
fix: FormAction组件 绑定表单提交事件 ( #3036 )
2023-09-18 10:03:52 +08:00
invalid w
d3fd22dbbd
chore: 解决 ESLint no-undef 规则校验问题和 basicTable 组件的类型问题,替换popover组件的 visible 属性。 ( #3033 )
...
* chore: 关闭eslint的no-undef规则校验
* chore(VFormDesign): 替换表单设计组件的modal是否可见属性
* chore(BasicTable): emit传参类型问题
* chore(Table): 调整函数参数类型
* chore: 调整expandedRowKeys数据类型
* chore(Table): 完善TableRowSelection接口类型
* chore(Table): 完善useRowSelection 文件的类型问题
* chore(useColumns): key赋值的类型问题
* chore(useDataSource): setTableData的类型问题
* chore: 替换rowKeys类型为 (string|number)[]
* fix(edit-cell): 修复edit table Popover 传参问题
* fix(Table): handleItem函数进行绑定key dataIndex可能为数组,造成类型错误提示
2023-09-16 20:32:33 +08:00
LanceJiang
bf2f6390ad
feat: BasicTable 组件 HeaderCell 新增(类customRender) customHeaderRender 方法 自定义渲染支持 ( #3030 )
...
示例见: /comp/table/multipleHeader
2023-09-15 15:56:26 +08:00
Li Kui
bd024cc521
fix: isible deprecated warnings ( #3029 )
2023-09-15 15:56:17 +08:00
Li Kui
4ac08e5ae5
fix: type check failed for prop 'onClick' ( #3028 )
2023-09-15 15:56:06 +08:00
invalid w
1ac8c56c6b
fix(Modal): 全屏modal样式问题 #3019 ( #3020 )
2023-09-13 16:32:00 +08:00
invalid w
356f132610
style(Drawer): antdv4版本 drawer要使用rootClassName来来配置最外层元素样式 ( #3012 )
2023-09-11 17:54:40 +08:00
k1ngbanana
1c668f21bf
feat: pageWrapper.vue加入sticky功能 ( #3008 )
2023-09-08 22:10:29 +08:00
invalid w
aaf2fde3cf
antdv升级到4.x版本 ( #3006 )
...
* fix(ApiTreeSelect): ApiTreeSelect组件首次调用会重复请求(#2940 )
由于watchEffect,onMounted会立即执行,所以导致重复请求。
并且 watch函数和watchEffect监听的依赖重复了,故删去
* chore: update ant design npm version
* chore: 修改antd的css引用路径
* style(layout): 替换sider header组件传参属性,适配原有组件的样式
* style(Menu): 去除气泡卡片的背景
* chore: typo
* typo(Modal): 将visible替换成open
* typo:修改modal弹窗的绑定函数名称
* style(Modal): 为了解决直接引用 Modal 组件时关闭按钮样式的问题,增加一个名为 "vben-basic-modal" 的类名,以实现样式隔离。
* Update package.json
* typo(Drawer): Drawer 组件 visible 变为 open
* typo(Table): Table 组件 filterDropdownVisible 变为 filterDropdownOpen。
* typo(TreeSelect): 组件弹框的 classname API 统一为 popupClassName,dropdownClassName
2023-09-08 22:10:07 +08:00
invalid w
607a24632a
fix(ApiTreeSelect): ApiTreeSelect组件首次调用会重复请求( #2940 ) ( #3005 )
...
由于watchEffect,onMounted会立即执行,所以导致重复请求。
并且 watch函数和watchEffect监听的依赖重复了,故删去
2023-09-07 21:47:55 +08:00
invalid w
89d7a19f3f
feat(Form): 为fieldMapToTime的映射类型增加时间戳转换 ( #2996 )
...
为fieldMapToTime的第三个参数增加 timestamp 和 timestampStartDay 选项
timestamp的作用: 将映射的时间格式转为时间戳
timestampStartDay的作用: 将映射的时间格式转为当天0点开始的时间戳
2023-09-03 16:22:02 +08:00
invalid w
7b26c5994c
feat: 增加Prompt组件, 并且修复 #2976 ( #2979 )
...
* feat: 增加Prompt组件
类似于Element UI组件库的MessageBox Prompt组件
* fix : #2976
* refactor: 对appendSchemaByField函数的通用操作进行整理
2023-08-25 12:36:10 +08:00
Li Kui
2c74e790cb
fix(Tree): beforeRightClick type ( #2968 )
2023-08-16 21:34:57 +08:00
invalid w
5425dc241f
fix : #2767 #2884 #2868 ( #2956 )
...
* fix : #2767
* fix : #2884
* fix : #2868
2023-08-13 09:14:04 +08:00
billyshen26
573d395b69
fix: 解决ApiTreeSelect的params更新后fetch不执行 ( #2954 )
...
* fix: 解决ApiTreeSelect的params更新后fetch不执行
* feat: 优化ApiTreeSelect参数,可自定义value等
---------
Co-authored-by: Billy Shen <shenfangtao@imaodu.com>
2023-08-11 08:39:13 +08:00
invalid w
eea414e04b
feat: 恢复暗黑主题 ( #2947 )
...
* feat: 恢复暗黑主题
* fix: 修复danger btn暗黑样式优先级
2023-08-07 18:51:30 +08:00
Cao Duc Anh
0bd98b3c27
chore: split function for easy maintain, understand and using ( #2945 )
2023-08-03 16:28:34 +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
ludens blunt
fa5ecb090f
fix(Dropdown): still pop when disabled is true; ( #2935 )
...
Co-authored-by: chenguangzhuang <chenguangzhuang@techpci.com>
2023-07-29 10:43:07 +08:00
YueCHEN195
4f9c711012
fix: 修复BasicTable组件开启可编辑行卡顿/卡死问题 ( #2939 )
2023-07-29 10:42:51 +08:00
DoverDee
16b4b6d57c
fit: 增加CropperAvatar组件图片上传大小限制默认最大5M ( #2928 )
...
Co-authored-by: doverlee <doverlee@fox.mail.com>
2023-07-26 19:05:31 +08:00
沐枫
c28224f3f8
增加TimeRangePicker时间区间范围选择组件 ( #2926 )
...
* feat: 增加TimeRangePicker时间范围选择组件
* feat: 增加TimeRangePicker时间范围选择组件2
2023-07-24 13:23:59 +08:00
zhangshujun
3b0b8d0baa
feat:不允许可重复添加同一field的表单项 ( #2923 )
2023-07-21 20:23:04 +08:00
zhangshujun
cb64e5d24c
From default value ( #2913 )
...
* feat: defaultValue赋值后不改动时间相关字段无法格式化问题
* feat: 更新处理方式
* feat: 去除未引用方法
---------
Co-authored-by: zhangshujun <zhangsj01@51cto.com>
2023-07-17 16:52:21 +08:00
xingyu
c6e135195a
修复合并代码导致的冲突 ( #2905 )
...
* fix: 合并代码导致的问题,升级vite 4.4.0
* fix: stylelint
2023-07-07 07:06:36 +08:00
xingyu
1262e13067
升级最新依赖 并修复eslint报错 ( #2896 )
...
* chore: update deps
* fix: import.meta.globEager 已过期
* docs: fix doc bugs
* fix: eslint
* fix: lint:prettier
* fix: stylelint
* chore: update deps
* fix: eslint
* refactor: accountdetail setup
* fix: 'Nullable' is not defined
* feat: remove vite-plugin-vue-setup-extend
* chore: remove unplugin-vue-define-options
* fix(component): pageWrapper
use setup
closed #2898
* refactor: PageFooter use setup
---------
Co-authored-by: jinmao88 <50581550+jinmao88@users.noreply.github.com>
2023-07-06 15:00:38 +08:00
LanceJiang
5ad5c8cdc7
fix: 类似 /comp/table/formTable页面 rowSelection.selectedRowKeys 数据双向绑定时 clickToRowSelect RowClick 触发失效 ( #2893 )
2023-06-29 21:04:06 +08:00
Li Kui
27cb958c2e
fix: Cropper typo ( #2891 )
2023-06-28 16:52:33 +08:00
tawen
4c381596a9
fix: 可编辑单元格editCellTable,当值为空时无法进行编辑 ( #2867 )
...
* fix: 修复 Cannot access 'pagewrapper' before initialization
* fix: 修复 角色管理 编辑角色时,角色状态不正确
* fix: 可编辑单元格editCellTable,当值为空时无法进行编辑
* fix: 可编辑单元格editCellTable,当值为空时无法进行编辑
2023-06-16 07:40:35 +08:00
tawen
7bcdb46148
fix: 修复当设置apiselect的immediate为false时,默认赋值后取值不正确传入默认options方案 ( #2862 )
2023-06-14 06:09:03 +08:00
tawen
cc88e1a66c
fix: 修复 Cannot access 'pagewrapper' before initialization ( #2835 )
2023-06-07 08:42:39 +08:00
jinmao88
6aa3f934d0
Revert "perf: 优化modal弹窗样式 ( #2824 )" ( #2834 )
...
This reverts commit 1e8fab3fe5 .
2023-06-06 16:30:01 +08:00
前端爱码士
19fd49e22d
perf: 优化tree getIcon方法类型定义 ( #2825 )
2023-06-05 11:04:56 +08:00
前端爱码士
1e8fab3fe5
perf: 优化modal弹窗样式 ( #2824 )
2023-06-05 11:04:37 +08:00
LanceJiang
b13c4a81fc
fix: 由于 多路径字段获取值 ( #2664 ) 处理 造成的 set value值为0||''时不成功的情况 ( #2776 )
2023-05-19 16:35:58 +08:00
GauharChan
b97d588392
refactor: 完善ColumnSetting的操作逻辑 ( #2745 )
2023-04-30 22:52:42 +08:00
zhenbintuo
cfbd5e9851
修复insertNodesByKey方法批量添加异常问题 ( #2695 )
...
当批量添加节点parentKey为空时,未赋值treeDataRef导致添加异常
2023-04-08 00:03:11 +08:00
vben
335f30c887
chore: 优化 useScrollTo、useWindowSizeFn
2023-04-07 00:12:26 +08:00
vben
6a9bd686d5
chore: remove LazyContainer
2023-04-06 23:49:20 +08:00
vben
762e5dee14
fix: 修复循环依赖问题
2023-04-06 23:16:15 +08:00
vben
fa18365c21
chore: 移除 useTimeoutFn文件,使用 vueuse
2023-04-06 22:49:16 +08:00
vben
feadf64ee3
fix: Icon加载问题
2023-04-06 22:47:39 +08:00
vben
553ee9c7ae
chore: revert fix(Icon): Cannot access Icon before initialization #2680 ( #2683 )
2023-04-06 22:44:26 +08:00
vben
9f8e010534
feat: 重构 useRefs
2023-04-06 22:17:18 +08:00
vben
14ba72dd1c
fix: 主题样式设置无效,close #2685
2023-04-06 22:12:17 +08:00
xingyu
7469312ffc
fix(Icon): Cannot access Icon before initialization #2680 ( #2683 )
...
* fix(Icon): Cannot access Icon before initialization
* fix(comps): import eslint
* fix(Icon): Cannot access Icon before initialization
* fix(comps): import eslint
2023-04-06 22:02:02 +08:00
oooplz
401fcaf325
fix: 空数组覆盖有效数组 ( #2687 )
2023-04-06 22:01:25 +08:00
vben
5e8ef2f64f
feat: 添加 defineOptions
2023-04-06 00:08:17 +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
c2590cbfb5
Merge branch 'main' of https://github.com/anncwb/vue-vben-admin
2023-04-04 17:14:06 +08:00
oooplz
af54b0fbc6
feat: 多路径字段获取值 ( #2664 )
2023-04-04 16:59:43 +08:00
vben
ba2415c3b4
chore: Extract lint config
2023-04-04 16:55:34 +08:00
vben
8180b2d15f
chore: 暂时移除主题切换及暗黑模式切换功能
2023-04-02 00:02:52 +08:00
Wit〆苗大
9579a45b3c
feat(excel导出): 增加批量导出功能, 增加demo示例 ( #2657 )
...
* feat(excel导出): 批量导出功能
* feat(excel导出): 批量导出功能, 增加参数类型定义;增加demo示例
---------
Co-authored-by: 苗大 <caoshengmiao@hypergryph.com>
2023-03-30 09:53:55 +08:00
Wit〆苗大
7b21e9dc24
fix(useFormEvents): 修复#2648修改导致的末尾大括号丢失 ( #2655 )
...
Co-authored-by: 苗大 <caoshengmiao@hypergryph.com>
2023-03-30 09:53:24 +08:00
oooplz
1b30834eb3
feat: 解构字段设置value ( #2648 )
2023-03-29 14:59:11 +08:00
Wit〆苗大
c5f97b9d9f
perf(BasicTable): css 内 ant-tag margin改动仅对表格内单元格生效, 防止影响其他地方的tag ( #2653 )
...
* perf(BasicTable): ant-tag margin改动仅对表格内单元格生效, 防止影响其他地方的tag, 如搜索表单内时间范围自定预设范围的tag
* perf(BasicTable):css 内 ant-tag margin改动仅对表格内单元格生效, 防止影响其他地方的tag, 如搜索表单内时间范围自定预设范围的tag
---------
Co-authored-by: 苗大 <caoshengmiao@hypergryph.com>
2023-03-29 14:58:42 +08:00
wh
d620758c2f
fix(ApiSelect): 支持x.x.x格式 ( #2637 )
...
Co-authored-by: whong <whif@foxmail.com>
2023-03-23 11:45:44 +08:00
zty
b66a83c10f
fix: upload component preview .webp image ( #2631 )
...
Co-authored-by: tianyuan233 <zty.dev@outlook.com>
2023-03-16 13:05:07 +08:00
zty
7bbb86249b
fix: set type of FormActionType.setFieldsValue same as type of setFieldsValue in useFormEvents ( #2630 )
2023-03-16 13:04:49 +08:00
zty
b0a45d4739
fix: modalheader dblclick ( #2628 )
2023-03-15 13:22:57 +08:00
lzdjack
1095d44110
feat: 替换vextable中button组件 ( #2625 )
2023-03-14 17:06:57 +08:00
Wit〆苗大
e938e8e9a8
perf(BasicButton): 按钮颜色设置支持主题色primary ( #2623 )
...
Co-authored-by: 苗大 <caoshengmiao@hypergryph.com>
2023-03-14 17:06:41 +08:00
lzdjack
3de5b53bcd
fix: 修复表单验证 ( #2620 )
...
1.优化验证
2.修复自定义组件验证出错的问题
2023-03-14 17:06:10 +08:00
qixianc94
d7f5dfeb9f
fix: ApiTransfer的targetKeys属性无效 ( #2615 )
2023-03-10 11:32:49 +08:00
儿时的夏日
85bc1f2340
fix: vxe-table与vben ApiTreeSelect适配 ( #2613 )
2023-03-10 11:32:36 +08:00
Partoo
edede25c8f
fix: 修复TypeError: item.indexOf is not a function报错 ( #2611 )
2023-03-10 11:31:51 +08:00
superlollipop
d9286b5345
修复表格设置固定列,事件回调数据错误 ( #2605 )
...
* fix: 修复异步加载表格列时,表格设置显示列为空
* fix: 修复表格设置固定按钮回调事件,未过滤当前选择的列导致回调数据错误
2023-03-06 17:29:54 +08:00
JokeHe
8d218ec8d5
Update useTree.ts ( #2602 )
...
修复获取子节点出错
2023-03-06 11:24:24 +08:00
luocong2016
72dbe574d3
fix: 修复表单验证失败的多个错误提示,语法报错问题 ( #2601 )
2023-03-06 11:24:09 +08:00
superlollipop
4c91ac11e2
fix: 修复异步加载表格列时,表格设置显示列为空 ( #2599 )
2023-03-04 14:08:32 +08:00
前端爱码士
ce480c5d66
fix: 解决BasicModal弹窗动态:wrapClassName属性被useFullScreen hooks覆盖的问题 ( #2598 )
2023-03-04 14:08:23 +08:00
yx lin
714a351036
Feat/cancel event ( #2593 )
...
* feat(excel): add cancel event for import excel
* feat(excel): add cancel emits
2023-03-03 13:14:01 +08:00
luocong2016
a78c3a305b
Update CollapseHeader.vue ( #2583 )
...
#2582
2023-03-02 15:14:00 +08:00
前端爱码士
bb8c2dea40
fix: 解决IconPicker初始拷贝了value的值,导致剪切板内容被覆盖 ( #2591 )
2023-03-02 15:13:45 +08:00
jsong
256e0275fe
Feat/modify input excel ( #2587 )
...
* feat: optimize parameter
* Revert "feat: optimize parameter"
This reverts commit 957dfc95ddab598f260d3974732d56f802e7f0bd.
* feat: can input irregulate excel
2023-02-27 12:52:09 +08:00
luocong2016
491941e4c5
fix<CollapseContainer>: v-show 才不会丢失目标容器 ( #2584 )
2023-02-27 12:51:13 +08:00
珍藏的小板凳
f1678a7cc0
fix: 修复Container中头部组件插槽中的action不生效的问题 ( #2582 )
...
Co-authored-by: xuyang.geng <xuyang.geng@gaea.com>
2023-02-27 12:50:36 +08:00
luocong2016
ed8cffb2a1
fix: 组件属性优先默认 ( #2581 )
2023-02-27 12:50:11 +08:00
luocong2016
70ee1c8403
refactor: 插槽优先属性调整,prefixCls优先关系调整 ( #2570 )
2023-02-22 18:31:27 +08:00
luocong2016
7346988622
refactor: collapse/CollapseContainer ( #2569 )
2023-02-22 18:31:13 +08:00
Houtaroy
d88915bac3
🐞 fix(Tree): 调整checkedKeys属性的类型 ( #2562 )
2023-02-22 18:09:30 +08:00
ZhangZhiChao
a1b9bbc2ce
fix: 重置表单时移除URL中的参数 ( #2559 )
2023-02-19 14:25:09 +08:00
luocong2016
be3d98fa3d
chore<table>: fix type ( #2529 )
2023-02-15 11:43:35 +08:00
luocong2016
ce0f528ba8
chore<table>: fix type ( #2528 )
2023-02-15 11:43:23 +08:00
Wit〆苗大
334a0ea8e5
fix(TableAction): 修复outside模式引用时报错;VxeTable demo引用TableAction改为outside模式, 属性添加keepSource以解决警告 ( #2544 )
...
* fix(TableAction): 修复outside模式引用时报错: TypeError: Cannot read properties of undefined (reading 'value')
* perf(VxeTable): demo引用TableAction改为outside模式以解决警告; 属性添加keepSource以解决警告
---------
Co-authored-by: 苗大 <caoshengmiao@hypergryph.com>
2023-02-10 19:53:32 +08:00
Wit〆苗大
4c0f2038af
perf(vxetable): 封装方法中加入可编辑表格和表单验证相关方法名,并在demo中增加新增和删除方法调用实现 ( #2532 )
...
* perf(vxetable): 封装方法中加入可编辑表格相关方法名,并在demo中增加新增和删除方法调用实现
* perf(vxetable): 封装方法中加入表单验证方法名
---------
Co-authored-by: 苗大 <caoshengmiao@hypergryph.com>
2023-02-10 07:42:59 +08:00
Carson
f7a1b02236
fix(useColumns): 多级表头下的列支持行内编辑 ( #2521 )
2023-02-05 16:33:12 +08:00
mfish
dab977ffbc
fix(ApiSelect): 解决参数类型为string时的警告问题 ( #2517 )
...
* feat(axiosSuccess): 操作成功后根据传入提示模式进行相应
* fix(axiosRetry): 解决get重试请求返回的headers造成无法成功请求的问题
* fix(axiosRetry): 参数首字母小写
* fix(useDataSource): 解决deleteTableRecord删除树形表格的行记录时,无法删除,无法找到子节点的问题
* feat(useDataSource): 删除之前提交代码遗留的console
* fix(permissionGuard): 当获取用户信息失败时,不允许正常登陆返回登陆界面
* fix(permissionGuard): 代码还原
* fix(menu): 解决隐藏菜单目录只能隐藏第一层目录的问题,递归隐藏所有子菜单
* feat(baseSetting): 个人设置图标修改时弹出窗显示原图片,由于跨域获取图片存在问题暂时将user.ts中的跨域图片链接去掉,直接采用本地图片
* fix(ApiSelect): 解决参数类型为string时的警告问题
2023-02-05 16:32:53 +08:00
lzdjack
d3ec7a58ad
fix: 修复RadioButtonGroup组件返回值不正确的bug ( #2513 )
2023-01-31 18:03:21 +08:00
lzdjack
83e529681a
perf: 优化ApiRadioGroup回调函数change参数 ( #2512 )
2023-01-31 18:03:11 +08:00
lzdjack
4d6f24d053
perf: 优化ApiCascader回调函数change参数 ( #2511 )
2023-01-31 18:03:02 +08:00
jinmao88
816fffe960
fix: lodash
2023-01-30 16:13:07 +08:00
lzdjack
6753e24b3d
feat: 接入vextable组件 ( #2508 )
2023-01-30 14:48:04 +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
8dd8a5ed01
个人设置图标修改时弹出窗显示原图片,由于跨域获取图片存在问题暂时将user.ts中的跨域图片链接去掉,直接采用本地图片 ( #2487 )
...
* feat(axiosSuccess): 操作成功后根据传入提示模式进行相应
* fix(axiosRetry): 解决get重试请求返回的headers造成无法成功请求的问题
* fix(axiosRetry): 参数首字母小写
* fix(useDataSource): 解决deleteTableRecord删除树形表格的行记录时,无法删除,无法找到子节点的问题
* feat(useDataSource): 删除之前提交代码遗留的console
* fix(permissionGuard): 当获取用户信息失败时,不允许正常登陆返回登陆界面
* fix(permissionGuard): 代码还原
* fix(menu): 解决隐藏菜单目录只能隐藏第一层目录的问题,递归隐藏所有子菜单
* feat(baseSetting): 个人设置图标修改时弹出窗显示原图片,由于跨域获取图片存在问题暂时将user.ts中的跨域图片链接去掉,直接采用本地图片
2023-01-18 11:17:18 +08:00
前端爱码士
f1717973c4
fix: 修复props中Array类型定义问题 ( #2491 )
2023-01-18 11:16:43 +08:00
Wit〆苗大
0cc53558fb
fix(EditableCell): 修复可编辑表格 组件onChange重复问题 ( #2495 )
...
* fix: props 初始化拼写错误 defualt => default
* fix: props 定义默认值拼写错误 defualt => default
* fix(EditableCell): 修复可编辑表格select组件onChange重复问题
Co-authored-by: 苗大 <caoshengmiao@hypergryph.com>
2023-01-18 11:16:33 +08:00
前端爱码士
bb1fee5885
fix: 修复table组件insertTableDataRecord方法的返回类型 ( #2490 )
2023-01-18 11:16:04 +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
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