Commit Graph

373 Commits

Author SHA1 Message Date
无木 791b323dbd fix(table): param of `handleSearchInfoFn`
修复`handleSearchInfoFn`的参数会有多余的空白键
2021-07-03 14:32:38 +08:00
无木 5fab267a69 feat(table-action): support `tooltip` option
为tableAction组件中的操作按钮增加tooltip配置

close: #848
2021-07-02 11:55:13 +08:00
无木 5637588fce fix(demo): fix async tree demo, fixed: #823 2021-07-02 02:27:33 +08:00
无木 ddf116da14 style(demo): replace account page detail icon 2021-07-01 11:36:45 +08:00
无木 424b171e0d fix(demo): account list fetch loss param
修复账号管理列表发起请求时可能缺少当前选中的部门ID参数的问题

fixed: #830
2021-06-30 00:50:49 +08:00
无木 0e414ba3c1 feat(demo): add route multi tabs show
添加同一路由演示多个不同参数的tab

close: #817
2021-06-26 21:25:11 +08:00
Vben a2a75a097f fix(demo-form): add fieldMapToTime example,fix #807 2021-06-24 23:17:56 +08:00
Vben a2d8be3ab2 fix(demo): style error,fix #806 2021-06-24 23:10:43 +08:00
JinMao 9298b3c988 feat: add Tree LoadData demo 2021-06-23 15:53:31 +08:00
Vben 4c89ea7474 fix(menu): fix the jitter problem of menu folding animation,fix #732 2021-06-18 00:39:33 +08:00
Vben f6fe1dd62d feat(test): add jest test suite 2021-06-17 23:00:12 +08:00
Vben 0acc4ab2dd perf(locale): reduce the number of multilingual files 2021-06-17 21:43:53 +08:00
Vben d196340d27 feat(demo): added guide page example 2021-06-17 21:43:53 +08:00
Vben 4f20d45f9d chore: type optimization 2021-06-17 21:43:53 +08:00
M69W a03d3cc60c
fix(ApiSelect demo): add demo about ApiSelect's use (#757)
* fix(ApiSelect demo): add demo about ApiSelect's use

* fix(ApiSelect demo): typo

* revert(ApiSelect): remove console

Co-authored-by: M69W <M69W@M69W>
2021-06-14 22:10:41 +08:00
Vben 305630e3fd feat(preview): added createImgPreview picture preview function 2021-06-11 23:26:30 +08:00
Vben fa828fd972 fix(flow-chart): fix drag and drop menu loss 2021-06-11 23:09:03 +08:00
Vben 1c1755cf5b fix(modal): ensure that the full screen height is calculated correctly 2021-06-11 22:29:02 +08:00
Vben 639520ad5d feat(use-drawer): add closeDrawer function 2021-06-11 22:19:02 +08:00
Vben c7c95dd2af chore: type Descrition,Drawer,Excel,Dropdown 2021-06-11 22:09:02 +08:00
Vben 6dbbdbac76 perf(cropper-avatar): code optimization 2021-06-11 21:49:02 +08:00
jinmao88 b7c7c46853
perf: add createImgPreview func (#713) 2021-06-11 16:08:39 +08:00
Vben 8e410fc640 feat: add CropperAvatar component 2021-06-10 21:46:46 +08:00
Vben 00fca0fe6c chore: prettier code 2021-06-09 22:36:30 +08:00
Vben 7b9cd09ad8 fix(demo): make sure the map https resource is correct 2021-06-09 00:25:45 +08:00
无木 84d9300e52 fix(demo): `breadcrumb` route invalid redirect 2021-06-08 16:45:42 +08:00
无木 21f7a854fe fix(demo): account list page validate and save 2021-06-08 01:13:22 +08:00
无木 125a7d1483 feat(table): support columns-change event
添加列改变事件(含排序、可见性、固定列)。该事件仅由表格设置组件中人为触发。
2021-06-07 12:37:21 +08:00
无木 aee613034f refactor(mock): remove third-party images 2021-06-07 01:14:07 +08:00
无木 19d8e01e11 feat(table-img): support simple show mode and more props
改进TableImg组件,支持简单显示模式以及更多可配置的属性。
2021-06-06 16:27:19 +08:00
Vben a96cb2509c refactor(test-server): improve test service code 2021-06-05 22:29:56 +08:00
无木 8b6e07b768 fix(demo): fix basic form page style
修复表单基础示例页面,远程下拉的弹出层有时显示不完整的问题。
2021-06-05 22:17:17 +08:00
无木 fe2bcfc6f7 feat(table): support custom update on row editing
在表格进入行编辑状态时,在某一列数据发生修改时,允许获取或同步修改其它列的当前编辑数据。

close #646
2021-06-05 14:11:00 +08:00
无木 808012b544 feat(table-action): add stopButtonPropagation prop
为TableAction组件添加stopButtonPropagation来配置是否要阻止操作列的按钮的点击事件冒泡。

close #699
2021-06-05 12:58:07 +08:00
无木 6c4f947386 fix(page): `basic form` action btns should be in line
修正基础表单页面的提交和重置按钮没有处于一行的问题
2021-06-04 19:22:30 +08:00
无木 46899aa3cd feat(demo): `switch` use in table
演示在table中渲染switch列并响应修改switch的动作
2021-06-04 16:11:18 +08:00
无木 5d554f184f fix(modal): redoModalHeight not work as expected
修复redoModalHeight根据内容重设高度时,只会增大而不能减少Modal高度的问题
2021-06-03 10:52:17 +08:00
无木 f732b56904 feat(modal): add redoModalHeight for useModalInner
允许在Modal内部动态加载内容后重新调整高度
2021-06-02 23:31:15 +08:00
Netfan 5ddccf6ba2
feat(tabs): add setTabTitle method (#680)
添加设置标签页标题的方法和演示
2021-06-01 01:13:19 +08:00
无木 9f5085c9f9 fix(table): useTable support onChange
修复useTable无法直接通过设置onChange来注册change事件响应的问题
2021-05-30 18:10:16 +08:00
无木 9f4d1719ca fix(table): support change event
修复表格不支持change事件的问题。

fix #677
2021-05-30 17:52:16 +08:00
Netfan 9e5e630987
refactor(api): remove unnecessary userId param (#675)
* refactor(api): remove unnecessary userId param

移除getUserInfo、getPermCode、getMenuList接口的userId参数。
这些接口应当始终与当前登录用户相关而无需传递userId。

* fix: fix auth header key case error
2021-05-29 23:11:38 +08:00
无木 3ed2339a6d fix(tree): support defaultExpandAll prop
defaultExpandLevel已去除-1的行为定义,由defaultExpandAll代替。
2021-05-29 23:08:10 +08:00
无木 6edca1c19c feat(tree): add defaultExpandLevel prop
新增defaultExpandLevel属性,指定默认要展开的层级数。-1为默认全部展开(等同于ATree的defaultExpandAll),大于0则展开到指定层级。注意:该属性仅在首次渲染时起作用

close: #672
2021-05-29 00:48:56 +08:00
无木 8eaf575626 feat(table): editable component text align
使可编辑单元格显示的input中的文字对齐方式与列自身的align属性相匹配
2021-05-26 23:06:07 +08:00
无木 2066f66971 fix(avatar): mock data and Account center style
头像链接使用https,修正个人中心头像部分的位置
2021-05-26 21:58:14 +08:00
Netfan 93006c7dc7
feat(table): add editable DatePicker & TimePicker (#654)
为表格的可编辑单元格添加日期选择框和时间选择框组件
2021-05-26 21:47:31 +08:00
vben afa0eae829 chore: release 2.4.0 2021-05-25 23:47:27 +08:00
vben 5465f058ce feat(user): add user login expiration example 2021-05-25 23:14:05 +08:00
liuzhidong 785732f438
feat(form): add 'layout', 'labelAlign', 'rowProps' option (#651)
* feat(form):  add 'layout', 'labelAlign', 'rowProps' option

1.添加Form布局方式,当layout: 'vertical',labelWidth可以控制col间距
2.添加Form的全局label对齐方式, labelAlign: left | right
3.添加Form的Row组件所支持属性,控制Col间的间距,对齐方式,布局方式

* feat(Rate): add 'Rate' module

*添加评分组件,并添加了dome例子
2021-05-25 22:25:13 +08:00
Netfan 7519a00ada
fix(avatar): show current user's avatar (#640)
在显示头像的地方正确显示当前登录用户的头像,已补充mock接口返回的avatar字段。
2021-05-23 09:02:47 +08:00
Netfan d8ff30d9ec
fix(tree): onCheck event lose origin param (#636)
修复Tree的onCheck事件缺少节点参数的问题
2021-05-22 22:36:19 +08:00
Netfan 2b76b88481
feat(qrcode): custom drawing support (#580) 2021-05-11 09:23:24 +08:00
木头锤纸 e80280fb81
feat(form): add Slider demo (#555)
* feat(function): add 增加Slider滑动输入条组件

* feat(function): add 增加Slider滑动输入条组件demo

* feat(function): add 增加Slider滑动输入条组件demo
2021-04-28 20:33:44 +08:00
zuihou 9e208411a2 feat(demo): add permission table demo 2021-04-27 00:22:05 +08:00
M69W 5fae2b02ea
perf: add Coordinating the selection of provinces and cities (#534)
Co-authored-by: M69W <M69W@M69W>
2021-04-26 20:53:33 +08:00
Vben cb35341b8f fix(form): ensure that the DateTime component checked properly,fix #511 2021-04-24 20:10:31 +08:00
jinmao88 8c2491fcb6
fix: fix AppendFormDemo (#505)
Co-authored-by: haha <admin@qq.com>
2021-04-19 23:52:37 +08:00
jinmao88 85b92a9add
perf: add AppendFormDemo (#503)
Co-authored-by: haha <admin@qq.com>
2021-04-19 18:42:31 +08:00
啝裳 94b2222c08
perf: improve countTo (#499) 2021-04-19 13:22:33 +08:00
啝裳 5e36a8b575
perf: improve cropper example (#491) 2021-04-17 22:39:05 +08:00
Vben a812685084 feat: add codeEditor component 2021-04-17 18:42:14 +08:00
Vben e1bc33f5c5 perf: improve flowChart logic 2021-04-17 18:36:49 +08:00
啝裳 2576735ade
feat: add flowChart Component (#488) 2021-04-17 06:06:08 +08:00
Vben 7db37eedcc chore: update deps 2021-04-16 23:54:53 +08:00
Vben 2cdf2c28c4 style: background to background-color 2021-04-13 21:43:10 +08:00
Vben 3c441a05da style(eslint): fix eslint error 2021-04-12 23:02:48 +08:00
Vben 663d13a67f fix: fix case errors 2021-04-10 23:57:50 +08:00
Vben 7e43d88f9c fix: echart import path 2021-04-10 23:49:39 +08:00
Vben 967b28c4c0 feat: persistent save tab, fix #359 2021-04-10 21:41:22 +08:00
Vben 215d8bab38 refactor: refactor store 2021-04-10 21:41:22 +08:00
啝裳 700306bb45
fix: Improve the picture cropping component (#463)
* fix: Improve the picture cropping component

* fix: component /verify/rotate text show problem
2021-04-10 21:19:28 +08:00
Vben 6b996229e1 fix(use-loading): rendering fails when used with onMounted, fix #438 2021-04-08 01:14:06 +08:00
Vben 64b6313b4e fix(table): ensure data responsiveness, fix #447 2021-04-08 00:06:30 +08:00
Vben 5b8eb4a49a feat: dark mode 2021-04-07 23:39:54 +08:00
Vben b54b794264 fix(table): make sure the editing line is working, fix #439 2021-04-01 00:52:31 +08:00
Vben 8a14069e71 refactor: refactor dashboard 2021-03-31 23:52:11 +08:00
Vben 2e11ea677b wip: add cropper iamge component 2021-03-29 22:48:13 +08:00
Vben 37f6660c57 perf: code optimization 2021-03-28 15:31:35 +08:00
Vben 2f99892d96 feat(print): add print example 2021-03-28 00:04:41 +08:00
Vben 979058ad95 perf: refoctor useTitle 2021-03-27 16:03:28 +08:00
Vben 237f41da68 fix(form): ensure that the hidden fields of the form are verified properly, fix #413 2021-03-26 00:12:49 +08:00
Vben 391da9ec28 feat(table): add expandAll/collapseAll function close #333 2021-03-21 21:51:50 +08:00
Vben 67962f1dee fix(v-auth): ensure the background mode is correct close #330 2021-03-18 22:38:55 +08:00
Vben 3c4de9b0be fix(input-count): make sure the reset function works close #381 2021-03-17 20:59:49 +08:00
Vben 68ceb2871f chore: rename Amap 2021-03-12 21:55:29 +08:00
Vben a9462f0d4d feat(map): added AMap/Baidu/Google Map example close #81 2021-03-12 21:45:27 +08:00
Vben a89eeef6f3 feat(time): added time compoennt close #285 2021-03-12 21:40:23 +08:00
Vben a759e44c6e fix(table): fix TableAction row height error close #350 2021-03-10 23:39:42 +08:00
Vben 1418dc6a59 feat(icon): added svg icon picker 2021-03-09 23:03:32 +08:00
Vben 9e3adaa30c fix(page-wrapper): fix PageWrapper title not showing 2021-03-08 23:16:35 +08:00
Vben 7156e47c18 fix(table): ensure that the value of the table action is updated correctly close #301 #313 2021-03-08 21:31:16 +08:00
Vben b7ce74abd6 refactor: refactor the project to solve the hot update problem caused by circular dependencies close #301 2021-03-08 21:19:09 +08:00
Vben 43a45b7c99 fix(form): ensure that the Form component does not verify hidden form items 2021-03-07 23:37:57 +08:00
Vben 551fe50a44 perf(table): the table fills the height according to the screen close #310 2021-03-07 01:42:57 +08:00
Vben 9c2a2a0c00 feat: add SvgIcon component 2021-03-05 23:12:01 +08:00
Vben b93f20f0df perf(login): enter to log in 2021-03-05 00:48:57 +08:00
Vben e696089660 feat(tree): add clickRowToExpand option close #318 2021-03-04 23:43:10 +08:00
Vben ce93e46faf fix(description): ensure that props respond 2021-03-04 23:02:24 +08:00
Vben 4628d94415 feat: added system management sample page 2021-03-04 01:25:50 +08:00
Vben cd8e924d46 perf(tree): strengthen BasicTree function 2021-03-03 23:35:30 +08:00
Vben 9a1ba74920 wip: system management sample page 2021-03-03 22:52:25 +08:00
Vben 8b62fa0cb0 feat(tree): actionItem added show attribute close #314 2021-03-02 23:57:35 +08:00
Vben 72b42d7b35 feat(tree): add renderIcon props close #309 2021-03-02 23:15:32 +08:00
Vben e5b2cc1e98 chore: update deps 2021-03-02 06:59:38 +08:00
Vben c625462e98 feat(ws): added WebSocket examples and service scripts 2021-03-02 00:28:20 +08:00
Vben b6cea4a950 feat(icon-picker): add icon-picker component 2021-03-01 23:11:12 +08:00
Vben 3b8ca420c7 feat: add dept management page 2021-03-01 22:54:21 +08:00
Vben 37669d067c wip: add account management page 2021-03-01 00:56:25 +08:00
Vben bba7768759 perf: replace crypto-es with crypto-js 2021-02-26 00:15:18 +08:00
Vben 500900abe1 perf: hide table full screen button by default 2021-02-24 22:05:27 +08:00
vben 4f8e1c1b5f fix(table): fix known errors in editable tables close #267 2021-02-20 00:00:22 +08:00
vben 370b12f515 feat: support echarts 5.0 2021-02-17 23:57:48 +08:00
vben 4d7001bbcf refactor(design): add windicss 2021-02-17 22:07:22 +08:00
vben b335e7511b chore: fix the error-log list as the system route 2021-02-13 11:15:06 +08:00
vben a3a903bc86 feat(modal): exporse redoModalHeight 2021-02-08 00:17:15 +08:00
vben 70c0877d4f chore: some typo 2021-02-05 01:07:36 +08:00
vben 1d0ec3629f fix(table): fix the table: cancel editing and not restore the initial value #235 2021-02-04 00:20:48 +08:00
vben 9edc281322 chore: format code by eslint #222 2021-01-28 23:30:50 +08:00
vben b107b52886 fix: modifyVars not work 2021-01-27 21:24:56 +08:00
vben 6392b7f048 refactor: remove global import 2021-01-18 23:37:36 +08:00
vben c2f6542b48 feat: css import on demand 2021-01-18 22:42:35 +08:00
vben cdf0a600e5 perf: perf table 2021-01-12 22:17:31 +08:00
vben c9600208c5 fix(table): table setting error #174 #165 2021-01-11 21:30:43 +08:00
vben 18ad1bcc6e fix: upload component not work #169 2021-01-11 21:15:34 +08:00
vben c22de5c35b fix: useI18n type 2021-01-11 21:05:16 +08:00
vben de5bf757f2 fix(form): formAction slot not work 2021-01-07 21:16:30 +08:00
vben 0e7c57bd5e feat(tabs): added tab folding 2021-01-06 20:10:16 +08:00
vben 8d7d0835ad feat(table): add summaryData prop #163 2021-01-05 21:46:39 +08:00
vben 31ff0559fe feat(page-wrapper): added pageWrapper component 2021-01-05 21:45:05 +08:00
vben 5c27353467 fix(table): restore the property of the table 2021-01-02 22:34:32 +08:00
vben a0681cca8f fix(demo): fix demo error 2020-12-31 22:45:08 +08:00
vben 9c2f3f30bb refactor(table): refactor table #150 #148 #146 #130 #76 2020-12-31 21:24:47 +08:00
vben e09e0a1253 fix(table): wrong tag label style #134 2020-12-31 00:34:20 +08:00
vben 116a1f7745 wip(table): perf table #136,146,134 2020-12-31 00:11:44 +08:00
vben 3549043f37 wip(table): perf table 2020-12-28 23:33:23 +08:00
vben a305e59124 fix(form): form validate error 2020-12-28 22:04:05 +08:00
vben 3b126e011c perf(route): refactor guard 2020-12-28 01:31:41 +08:00
vben ebf7c8aa53 perf(modal-drawer): replace the scrollbar assembly 2020-12-28 00:16:17 +08:00
vben ac1a369502 perf(form): improve the form function 2020-12-27 22:25:35 +08:00
vben 4ff1c408dc wip(form): perf form 2020-12-25 01:09:44 +08:00
vben 819bcbe526 feat(breadcrumb): add breadcrumb demo #143 2020-12-24 22:02:24 +08:00
vben 930383f9ae feat: add mainout page demo 2020-12-23 22:55:14 +08:00
vben 7db0c5c49f fix: add an example of markdown embedded in the form #138 2020-12-23 21:43:06 +08:00
vben 2e79c9f37a feat: add ripple directive 2020-12-21 22:34:07 +08:00
vben 6b3195b4ca fix(comp): fix the memory overflow problem of component containing keywords 2020-12-12 00:32:21 +08:00
vben 9bb751475d perf: tsx use useExpose 2020-12-08 22:53:29 +08:00
vben 29461a8568 fix: file upload key loss #120 2020-12-08 22:18:20 +08:00
陈小婷 5dc8226ce1 fix: 整体图标调整 2020-12-08 00:22:55 +08:00
vben c303ec1a23 refactor: refactor route 2020-12-03 21:49:32 +08:00
陈小婷 4cb3784f13 feat: add search-list page 2020-12-02 00:53:00 +08:00
vben 5db3ce7737 refactor: add loading component and demo 2020-12-01 20:59:17 +08:00
vben de499a1455 fix: fix the display problem of table icon 2020-11-28 17:25:35 +08:00
陈小婷 2f75a94889 feat: add basic-list page 2020-11-26 22:56:27 +08:00
vben e8ccdc7f34 fix(tree): fix tree style (#99) 2020-11-26 22:46:37 +08:00
vben 73c8e0c158 perf: perf component 2020-11-26 21:19:39 +08:00
vben cedba37e4c feat: add tab drag and drop sort 2020-11-25 22:28:58 +08:00
vben 36734100e3 chore: update menu 2020-11-23 23:30:20 +08:00
vben ba068ba1df wip: refactor layout 2020-11-23 23:24:13 +08:00
vben 234c1d1fae feat: the cache can be configured to be encrypted 2020-11-23 23:24:13 +08:00
陈小婷 3a132f3f4f feat: add card-list page 2020-11-23 22:03:40 +08:00
vben 737b1b190c wip: multi-language support 2020-11-23 00:35:15 +08:00
陈小婷 16117a9ef9 chore: remove /deep/ 2020-11-20 22:54:40 +08:00
vben ea24dfa384 chore: bump 2.0.0-rc.11 2020-11-18 23:47:32 +08:00
vben be2b8a7e17 feat: integrate upload components into form by default 2020-11-18 23:10:29 +08:00
vben 46e0875374 chore: add some notes 2020-11-18 22:41:59 +08:00
chen-xt 9f8796ee58 fix: update account page demo (#92) 2020-11-17 22:49:49 +08:00
vben 7a000366b9 feat(desc-page): add desc page demo 2020-11-17 22:28:32 +08:00
vben 0b6110a8fc feat(form-page): add form page demo 2020-11-17 17:02:42 +08:00
vben 4ddee05dee fix(form): fix form inputNumber verification error 2020-11-15 22:53:31 +08:00
vben abb0cfae06 chore: update center page 2020-11-15 13:46:16 +08:00
vben 661db0c767 perf(upload): improve upload component 2020-11-15 13:22:34 +08:00
vben a161bfa818 feat: added base64 file stream download 2020-11-15 13:22:34 +08:00
chen-xt 78d4d41c85 feat: add account center page (#86) 2020-11-15 12:47:59 +08:00
chen-xt 7ad4cee79a feat: add accountSetting page (#85) 2020-11-14 20:34:46 +08:00
vben db3092db2e feat: add file download demo 2020-11-13 00:55:25 +08:00
vben 1d45617e4a refactor(form): enhanced form customization and dynamic capabilities 2020-11-13 00:42:52 +08:00
vben 21e0548e34 feat: add result page demo 2020-11-12 22:15:15 +08:00
jq 746d4a745d wip: add upload component 2020-11-12 00:06:12 +08:00
vben 5832ee6697 feat(form): support function type of form item 2020-11-10 22:30:52 +08:00
vben 90b3fab28e feat: routes with parameters can be cached 2020-11-08 18:43:05 +08:00
vben 2859067621 feat(from): add required in schema 2020-11-05 22:53:47 +08:00
vben b6d5e5c96f perf: enhance openModal and openDrawer 2020-11-05 22:40:30 +08:00
vben 0f4b847d69 perf(lazy-container): optimize lazyContainer code 2020-11-03 21:20:01 +08:00
vben 69af37ec88 fix(table): fix table typo 2020-11-03 00:59:39 +08:00
vben da863d3df2 chore: bump deps 2020-11-01 23:44:23 +08:00
vben f645680a3b feat: right-click menu supports multiple levels 2020-11-01 17:28:38 +08:00
vben 28f7f7bf7f perf(drawer): perf drawer 2020-10-31 00:41:33 +08:00
vben 2407b3368c fix: some error 2020-10-31 00:15:14 +08:00
vben 84c9d78fa7 refactor(form): code optimization and reconstruction 2020-10-30 22:06:14 +08:00
vben 7658f4d6e8 fix: typo 2020-10-29 22:29:46 +08:00
vben 96021fad6d chore: modify the default route switching animation 2020-10-28 00:41:41 +08:00
vben a2c413a838 fix: the useMessage icon style problem 2020-10-27 23:58:44 +08:00
vben 8f5016e3f3 feat: the Button component extends the and attributes 2020-10-27 23:44:32 +08:00
vben 6bffdb5c64 fix: fix the disappearance of tab switching parameters (#56) 2020-10-27 23:08:29 +08:00
vben b350098f44 perf: adjust the logic of 2020-10-27 22:48:08 +08:00
vben fdeaa00bf2 feat: add lazyContainer comp and demo 2020-10-26 00:34:23 +08:00
vben a0c3197454 perf: update form types 2020-10-25 23:51:27 +08:00
vben 3713487c85 feat(transition): add transition comp and demo 2020-10-25 21:31:14 +08:00
vben 2628fb550d refactor(drawer): refactor props detailType to isDetail 2020-10-25 15:08:41 +08:00