xingyu
0cfaa40bd0
refactor: layouts use setup ( #3312 )
...
* refactor: layouts use setup
* refactor: dashboard use setup
* fix: breadcrumbs types
* fix: noticeList type check error
* fix: noticeList type check error
* chore(Breadcrumb): revert setup change
---------
Co-authored-by: invalid w <wangjuesix@gmail.com>
2023-11-23 12:14:06 +08:00
xachary
617b01338c
fix: fullscreen-modal width wrong ( #3321 )
...
* fix: fullscreen-modal width wrong
* fix: ModalWrapper expose setModalHeight missing
2023-11-23 09:10:21 +08:00
bowen
f58ef6777c
fix(BasicForm): script setup defineExpose ( #3316 )
2023-11-22 10:02:26 +08:00
invalid w
eed50db873
chore(demo->form-design): resolve ts error. close #2719 #1882
2023-11-21 16:39:11 +08:00
bowen
2cd5a40322
fix(type): type:check error ( #3309 )
2023-11-21 15:38:00 +08:00
林飞
82671d0750
fix(useFormEvents): 修复setFieldsValue 方法设置完值后,函数 componentProps丢失formActionType 的bug ( #3301 )
...
Co-authored-by: gavin-james <meaganlindesy1258@gmail.com>
2023-11-20 16:59:05 +08:00
Hannah Jensen
a9530877c0
style: 修复eslint和stylelint ( #3303 )
...
Co-authored-by: DreamyTZK <i@tzki.cn>
2023-11-20 16:57:23 +08:00
bowen
d7472b8a2e
fix(VFormDesign): findIndex === -1 ( #3305 )
2023-11-20 16:56:28 +08:00
胡彪
6c0b857d7d
refactor(demo): transition and account use setup ( #3298 )
...
Co-authored-by: jackhoo_98 <jackhoo_98@foxmail.com>
2023-11-20 15:46:40 +08:00
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
明修
cb13986a17
fix: 修复表单设计的右侧属性配置面板中部分表单错乱的问题 ( #3300 ). close #3268
2023-11-20 09:21:34 +08:00
invalid w
11e689c86c
chore: rm unnecessary script
2023-11-18 16:53:56 +08:00
xingyu
9fad2ab631
refactor(demo): table demo use script setup ( #3296 )
...
* refactor: /@/ => @/
* refactor: table demo use script setup
* refactor: change /@/ to @/
* feat: add antdv qrcode demo
* style(qrcode): add margin bottom
---------
Co-authored-by: invalid w <wangjuesix@gmail.com>
2023-11-18 16:50:20 +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
xingyu
35751068c5
refactor(demo): 重构demo页面组件为 script setup 语法 ( #3293 )
...
* refactor: charts demo use setup refactor
* refactor: demo use script setup refactor
* refactor: demo feat use script setup refactor
* fix: tab-params
* revert: settings.json
* style(demo->Modal1): loading text line height
* Update index.vue
---------
Co-authored-by: invalid w <wangjuesix@gmail.com>
2023-11-18 11:43:18 +08:00
bowen
cb907165ec
refactor: some feat pages transfer setup grammar ( #3292 )
...
* refactor: some feat pages transfer setup grammar
* refactor: update
2023-11-18 09:26:59 +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
苗大
89323186b5
perf(breakpointEnum): 修改enum与breakpoint.less内一致 ( #3276 )
...
Co-authored-by: 苗大 <caoshengmiao@hypergryph.com>
2023-11-13 13:15:16 +08:00
zhang
6d047fb53f
fix(DatePicker): zh-CN is not work in DatePicker ( #3273 )
...
* fix(DatePicker): zh-CN is not work in DatePicker
* fix(DatePicker): locale zh-CN is not work in DatePicker
2023-11-13 13:14:59 +08:00
zhang
2991bb1670
perf(ImageUpload): 根据官方示例设置图片回显格式 ( #3252 )
...
* perf(ImageUpload): 根据官方示例设置图片回显格式
* perf(ImageUpload): 优化图片上传组
2023-11-13 13:14:21 +08:00
invalid w
538fa168fe
chore(demo->form): 增加ApiTransfer使用示例. close #1760
2023-11-10 11:09:03 +08:00
xachary
83426b5c96
feat(layout): move setting button to tabs when fold ( #3264 )
2023-11-09 16:02:57 +08:00
xachary
191e809b6d
feat(MultipleTab): add tabs auto collapse interaction in fold mode and setting ( #3256 )
...
* fix: validateFields await missing
* feat(MultipleTab): add tabs auto collapse interaction and setting
* chore(locales): update setting name to better reflect its purpose
---------
Co-authored-by: invalid w <wangjuesix@gmail.com>
2023-11-09 11:24:27 +08:00
invalid w
b976933766
chore(i18n): resolve ts type error
2023-11-09 11:10:36 +08:00
invalid w
90b45b3a51
chore(demo->BasicTree): 增加获取当前tree数据示例. resolve #3253
2023-11-09 09:57:01 +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
bowen
2142506ce5
fix(dept): no parentDept can edit parentDept ( #3255 )
2023-11-08 11:43:24 +08:00
xachary
71c3fea88a
fix: validateFields await missing ( #3254 )
2023-11-08 11:42:54 +08:00
invalid w
8ef39def79
chore(demo): 自定义列的helpMessage增加tsx和h函数渲染的数据
2023-11-07 11:17:42 +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
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
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
xingyu
b6f8379e93
fix: breakpoint ( #3242 )
2023-11-06 11:08:19 +08:00
open-carp
ec646c57b8
fix(demo->customerForm): FormItem下有多个受控组件控制台显示错误提示的bug ( #3238 )
...
* fix: FormItem下有多个受控组件控制台显示错误提示的bug
* chore(demo->customerForm): use Promise in rule validator
---------
Co-authored-by: invalid w <wangjuesix@gmail.com>
2023-11-04 11:28:25 +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
invalid w
6b919cd2fc
chore(useLocale): resolve ts type error
2023-11-03 12:37:36 +08:00
invalid w
4de756aa2d
chore(routeHelper): [ Fixes #3217 ] remove undefined property
2023-11-03 11:53:33 +08:00
bowen
beed7f2e11
feat(Upload): file list add drag func ( #3227 ). resolve #3179
2023-11-02 11:26:35 +08:00
苗大
2e632e4d4d
fix(dark): fix --text-color light color not work ( #3228 )
...
* fix(dark): fix --text-color light color not work
* fix(dark): fix --text-color light color not work
---------
Co-authored-by: 苗大 <caoshengmiao@hypergryph.com>
2023-11-02 11:23:01 +08:00
黄小民
59145ade25
feat: vxeTable searchInfo demo ( #3223 ) close #3011
2023-11-02 09:13:48 +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
wuzhican
ee8ec9eacf
fix: 修复notice样式绑定路径错误 ( #3218 )
...
* fix: 修复notice样式绑定路径错误
* fix: 修改notice的style嵌套结构以匹配template结构
---------
Co-authored-by: wuzhican <3245076860@qq.com>
2023-10-31 14:03:42 +08:00
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
invalid w
e4778757ad
style(TableColumn): fix Column settings container is too wide #3043 ( #3044 )
2023-09-20 08:16:38 +08:00
leo
b43fe7adbc
fix(axios): get等方法配置ignoreCancelToken无效 ( #3040 )
2023-09-18 10:04:24 +08:00
Li Kui
4aaddef06f
fix: type check failed for prop 'onClick' ( #3038 )
2023-09-18 10:04:15 +08:00
alixhome
ce6b25d03b
fix: Change role to toles for LoginResultModel ( #3037 )
2023-09-18 10:04:00 +08:00
open-carp
74a2f6209f
fix: FormAction组件 绑定表单提交事件 ( #3036 )
2023-09-18 10:03:52 +08:00
luchanan
99ddc3598a
perf: 指令权限v-auth支持并显示按钮权限 ( #3035 )
2023-09-17 12:08:17 +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
b0c2ca5393
fix(Header): 顶部菜单混合模式下,头部导航栏样式错位 #3021 ( #3024 )
...
* fix(Header): 顶部菜单混合模式下,头部导航栏样式错位 #3021
antdv4的ant-layout-header css会携带父选择器 导致line-height失效
* chore: 移除无用css
2023-09-13 20:26:16 +08:00
invalid w
1ac8c56c6b
fix(Modal): 全屏modal样式问题 #3019 ( #3020 )
2023-09-13 16:32:00 +08:00
LanceJiang
f4149c2f1d
fix: 由于更新ant-vue 新版本到 4.0.2以上 tsx 渲染 FormItem 插入style 导致的出错 改换class ( #3016 )
2023-09-12 23:19:11 +08:00
Li Kui
3ed49c3f8f
fix: arrow-left icon not centered ( #3013 )
2023-09-11 22:22:43 +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
a9017da294
perf: 为createAsyncComponent函数增加类型推导 ( #2967 ) ( #2991 )
2023-09-03 16:21:51 +08:00
Li Kui
1c1ce4b0e3
fix: VxeTable demo parameter typo& tabs close icon not centered ( #2989 )
...
* fix(msg): message icon not centered
* fix: VxeTable demo parameter typo
* fix: tabs close icon not centered
2023-08-31 12:49:21 +08:00
Li Kui
e31525a803
fix(msg): message icon not centered ( #2982 )
2023-08-26 07:17:06 +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
舜岳
b660f96220
refactor: code optimization ( #2961 )
2023-08-13 09:14:38 +08:00
Aynakeya
5dd3babc4e
update left/right icon not align to center ( #2958 )
2023-08-13 09:14:15 +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
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
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
明修
b30270a3fb
fix: 修复部分图标未居中的问题 ( #2917 )
2023-07-20 14:44:22 +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
LittleSaya
a4e70b9efe
通过把名称编码成hex,使项目能够在VITE_GLOB_APP_TITLE包含特殊字符时正常打包 ( #2910 )
...
* Update env.ts
使getVariableName能处理含有特殊字符的标题
* Update appConfig.ts
是getVariableName能处理包含特殊字符的标题的情况
2023-07-13 10:44:13 +08:00
xingyu
c6e135195a
修复合并代码导致的冲突 ( #2905 )
...
* fix: 合并代码导致的问题,升级vite 4.4.0
* fix: stylelint
2023-07-07 07:06:36 +08:00