Commit Graph

1592 Commits

Author SHA1 Message Date
Jiaxin sugar 295f7eef1a
Update routeHelper.ts (#3217)
某些情况下如果name如果没有值, 多个一级路由菜单会导致页面404
2023-10-31 11:44:50 +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 726bb73b58 chore(Table): Popup style disorder. close #3211 2023-10-30 15:51:01 +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
Jiaxin sugar 97f16271b1
Update role.data.ts (#3207)
fix: The component value is incorrect,
2023-10-29 21:35:06 +08:00
zhang 054a476d25
fix: 修复黑暗模式下一些样式问题 (#3201)
* fix: 修复黑暗模式下一些样式问题

* chore: refactor dark.less

---------

Co-authored-by: likui628 <90845831+likui628@users.noreply.github.com>
2023-10-28 21:37:44 +08:00
bowen ae61fa1186
fix: checkedKeys use unref bug (#3198) 2023-10-26 16:16:58 +08:00
bowen 405ef9e2b3
fix: async validator (#3194) 2023-10-26 11:54:09 +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
bowen 83fc4ae391
chore(ATypographyParagraph): fix type:check (#3187) 2023-10-25 11:55:14 +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
luchanan 00bf5d5bbf
站内支持API接口地址切换 (#3162)
* feat: 站内切换接口API

* feat: 站内切换接口API

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

(cherry picked from commit c6d60b6cfd50bf8e19233a21640ecf1d41c01cc8)
2023-10-23 14:37: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 e4bcf8c899 chore(demo): basicTree组件增加icon 和 switcherIcon示例 2023-10-21 11:49:17 +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
Kirk Lin 6f7d840128
refactor: cipher (#3174) 2023-10-19 16:41:29 +08:00
Kirk Lin 2152b3f779
feat: add pinia persist plugin (#3173) 2023-10-19 16:17:49 +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
bowen c24e0efd1d
perf: Modify i18 file format to JSON (#3171) 2023-10-18 19:15:52 +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
bowen 40aac6544c
fix(demo): account page table without dept (#3164) 2023-10-17 20:40:51 +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
前端爱码士 a0e43abeab
fix: 修复Modal.confirm的返回类型问题,需要有destroy,update的方法 (#3161)
* fix: 修复Modal.confirm的返回类型问题,需要有destroy,update的方法

* chore: simplify

---------

Co-authored-by: Li Kui <90845831+likui628@users.noreply.github.com>
2023-10-17 10:16:02 +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 d30fd1d546
chore: replace intro.js with driver.js (#3151) 2023-10-15 11:34:13 +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 d4f2641b9a chore(Demo): restore ApiTree schema show 2023-10-14 11:19:58 +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
bowen cdac147bc8
fix(LockModal): Cannot unlock (#3143) 2023-10-13 11:22:23 +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
bowen e161c1449a
fix(full-screen): dom fullscreen status text (#3130)
* chore: Fix ts type error

* chore: fix type:check error

* fix(full-screen): dom fullscreen status text
2023-10-11 10:47:24 +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
黄小民 b43d3069e1
fix: #2744tabs选项卡渲染问题,以及完善路由中affix=true时处理逻辑。 (#3127)
* fix: #2744tabs选项卡渲染问题,以及完善路由中affix=true时处理逻辑。

* fix: type warning

---------

Co-authored-by: Li Kui <90845831+likui628@users.noreply.github.com>
2023-10-10 20:58:40 +08:00
invalid w c5a13dc92f Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin 2023-10-10 18:06:48 +08:00
invalid w 6dd2818247 chore(demo): 修正表单增删示例类型错误 2023-10-10 18:05:34 +08:00
Li Kui ae58ada82e fix(demo): useForm中DatePicker,RangePicker 日期控件位置不对 2023-10-10 17:48:59 +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
invalid w d9fd16f4de Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin 2023-10-10 12:07:28 +08:00
invalid w a73187ccf4 chore(demo): 消除ts类型错误 2023-10-10 12:07:26 +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 cea297ce88 chore(error-handle): 处理vue errorHandler绑定事件的参数类型不一致 2023-10-09 12:02:53 +08:00
invalid w e25af8dd8c chore(useFormEvents): 消除checkIsRangeSlider 校验类型错误 2023-10-09 11:37:59 +08:00
invalid w 49d40d685d chore: 消除Switch组件类型错误。close #3111 2023-10-09 11:26:48 +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
invalid w 690d887680
chore: 设定权限列columns宽度,消除演示表格错位问题 (#3087) 2023-09-28 16:21:28 +08:00
invalid w 64b812802f
feat: 支持设置多重水印,增加清除所有水印方法. close #2610 (#3084)
* perf(watermark): 消除水印hook类型问题

* feat: 支持设置多重水印,增加清除所有水印方法

* chore: 应该让用户自己来进行水印清除
2023-09-28 11:05:53 +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
huangxiaomin d46c6daa13 #3080 按钮权限示例的判断权限异常 2023-09-27 13:58:35 +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
黄小民 5665fd62a9
fix: 英文版本时提示中的单词没有分开 (#3062) 2023-09-22 08:21:44 +08:00
黄小民 3b62afe110
Update index.less (#3055)
处理 移动滚动条的时候,ant-select-dropdown 没有随form-item移动
2023-09-21 10:40:18 +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