Commit Graph

432 Commits

Author SHA1 Message Date
Vben
893f3c79e7 refactor(css): refactored windicss to tailwindcss 2021-06-20 21:36:52 +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
JinMao
d683b0f1e8 fix: fix Login Page LocalePicker showLocale condition 2021-06-17 12:41:18 +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
34a80542de fix: fix darkModeSwitch switch failure 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
Vben
55e9d9fc29 perf: optimize components and add comments 2021-06-09 00:22:29 +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
Netfan
132c7fb944
fix: session timeout login logic error (#678)
修复超时重新登录的页面在某些逻辑下未能正确刷新数据的问题。

fix: #673
2021-05-31 09:23: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
Netfan
b218f10e25
fix(login): login page modal style fixed: #662 (#666)
* fix: catch axios error data on request

* fix(login): login page modal style fixed: #662
2021-05-28 00:07:28 +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
bb0d2e1c71
fix(login): incorrect enter event bind (#625)
登录页面的回车事件绑定不正确,导致可能会意外提交登录表单:想按按下Enter关闭错误Modal时、在注册表单或其它表单按下Enter时等等。现已将Enter事件绑定在登录Form上
2021-05-20 22:51:51 +08:00
Vben
e4c3d0918a chore: update deps 2021-05-17 00:54:45 +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
8b2e0f665f fix: fix the default value of props 2021-04-25 23:39:56 +08:00
Vben
cb35341b8f fix(form): ensure that the DateTime component checked properly,fix #511 2021-04-24 20:10:31 +08:00
Vben
b92b8a3c6a fix(tabs): fix the problem that other functions are invalid when the tab is closed, close #376 2021-04-19 23:53:11 +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
Li yao
bd83eccdc5
fix: password icon dislocation (#501)
修复登录页密码显示icon不同分辨率下错位
2021-04-19 18:36:44 +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
2037293aa3 refactor: refactor hooks 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
ee1c349858 fix(menu): improve menu logic, fix #461 2021-04-08 23:04:16 +08:00
Vben
780a8a67b8 fix: improve login page style 2021-04-08 22:08:55 +08:00
啝裳
af6d58eb26
fix: login page overflow show problem (#455) 2021-04-08 18:02:38 +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
3576d0b512 chore: format code 2021-04-05 22:23:39 +08:00
Vben
ee4829c15d fix(server): grammatical errors 2021-04-01 22:34:31 +08:00
Vben
6d6e0a1bfe fix(build): fix build error 2021-04-01 01:03:00 +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
1e4a250da1 fix(abakysis): fix tooltip style,fix #436 2021-03-29 23:02:03 +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
b25ceb4201 fix(echart): legend not work 2021-03-27 00:04:36 +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
2c6aa8528d refactor: code optimization 2021-03-10 22:28:37 +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
7b4fcd2eca fix: fix login page style 2021-03-02 00:40:00 +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
f6cef1088d refactor: refactored multi-language modules to support lazy loading and remote loading 2021-02-28 08:48:53 +08:00
Vben
a84586e2f4 fix(login): fix login style close #306 2021-02-26 00:17:50 +08:00
Vben
bba7768759 perf: replace crypto-es with crypto-js 2021-02-26 00:15:18 +08:00
Vben
8a9ca498d7 chore: remove useless code 2021-02-25 20:25:02 +08:00
Vben
500900abe1 perf: hide table full screen button by default 2021-02-24 22:05:27 +08:00
vben
7e564c2984 chore: update deps 2021-02-23 00:31:10 +08:00
vben
a09a0eedd2 perf: improve login logic 2021-02-22 23:04:47 +08:00
vben
9a71029684 chore: update deps 2021-02-21 22:33:47 +08:00
vben
ec9478f76f refactor: refactor login page 2021-02-21 17:56:23 +08:00
vben
4f8e1c1b5f fix(table): fix known errors in editable tables close #267 2021-02-20 00:00:22 +08:00
vben
da04913ef3 feat: added settingButtonPosition configuration close #275 2021-02-18 21:12:27 +08:00
Leon
7d9b521c69
fix(dashboard): fix workbench page style (#280) 2021-02-18 21:00:28 +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
5810078bc7 wip: code adjustment and optimization 2021-02-10 00:53:47 +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
61cf0f791e fix(moment): fix moment error #217 2021-01-27 00:14:08 +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
3571eb4c47 chore: bump 2.0.0.rc.16 2021-01-12 23:12:05 +08:00
vben
cdf0a600e5 perf: perf table 2021-01-12 22:17:31 +08:00
vben
efbde0d57e perf(i18n): merge common lang 2021-01-12 21:10:27 +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
3509ebec16 fix: mock plugin error #171 2021-01-11 00:16:44 +08:00
vben
99ac309fa9 wip: support vite 2021-01-09 23:28:52 +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
5cbfb2a1f9 fix(charts): fix echarts does not display after refresh #140 2020-12-23 00:16:24 +08:00
vben
2e79c9f37a feat: add ripple directive 2020-12-21 22:34:07 +08:00
vben
c774a6d3a0 feat: support mobile layout adaptation 2020-12-15 17:22:56 +08:00
vben
a65ad9edd5 wip(menu): perf menu 2020-12-15 00:15:34 +08:00
vben
6b3195b4ca fix(comp): fix the memory overflow problem of component containing keywords 2020-12-12 00:32:21 +08:00
vben
0434030f27 fix(login): fix the problem of successful login and notify disappearing 2020-12-11 22:08:36 +08:00
vben
dddda5b296 feat: add search page 2020-12-10 23:58:11 +08:00
vben
4ce1d526c8 refactor(lock-page): refactor lock page 2020-12-09 22:11:34 +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
f4621cc664 perf: perf loading logic 2020-12-04 21:25:33 +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
962f90de44 feat: support vscode i18n-ally plugin 2020-12-01 23:51:39 +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
vben
e04aaa0645 fix(use-redo): refresh the page to keep the parameters(#104) 2020-11-26 23:21:23 +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
19011296ed feat: multi-language support 2020-11-26 21:10:21 +08:00
vben
e5f8ce3fd8 feat: multi-language layout 2020-11-25 23:20:30 +08:00
vben
cedba37e4c feat: add tab drag and drop sort 2020-11-25 22:28:58 +08:00
vben
41d79008c5 refactor: refactor setting 2020-11-25 00:43:33 +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