Commit Graph

1150 Commits

Author SHA1 Message Date
zuihou 452b2599f4 fix(route): 获取 LAYOUT 或 IFRAME 忽略大小写。 并且在通过component找不到页面时打印警告,并返回404页面 2021-09-23 00:05:58 +08:00
zuihou 7028e0031d fix(Breadcrumb): 隐藏面包屑应交给 hideBreadcrumb 参数,而非hideMenu 参数 2021-09-22 23:46:42 +08:00
无木 6e0c70f415 fix(import-excel): support datetime raw data import
importExcel支持导入原始日期时间数据

fixed: #1215
2021-09-21 23:23:32 +08:00
无木 01b667facf fix(form): fixed custom item style
修复自定义FormItem组件的内容宽度可能超出范围的问题

fixed: #1225
2021-09-20 20:48:50 +08:00
无木 a82a69d00d fix(dropdown): add missing function
添加Dropdown组件缺失的函数
2021-09-20 19:06:26 +08:00
无木 853bde9275 fix: fixed prop `mode` of `CodeEditor` 2021-09-18 20:18:41 +08:00
无木 5af452754b fix: hmr error fixed
修复部分组件可能会造成热更新异常的问题
2021-09-18 14:58:22 +08:00
无木 9c5f11a54b fix: remove warning in building action
移除build过程中的警告
2021-09-18 12:32:15 +08:00
无木 6c08dae921 fix: build error for `CodeEditor` 2021-09-18 12:29:54 +08:00
无木 2875a97b70 fix(table): `clickToRowSelect` support `disabled` checkbox
修复`clickToRowSelect`会无视行选择框disabled状态的问题
2021-09-17 15:44:39 +08:00
无木 7b6d5e44a9 fix(table): `reload` in useTable not support await
修复useTable返回的reload方法不支持使用await等待加载完毕的问题
2021-09-16 16:29:26 +08:00
无木 e85649bde2 fix(tabs): close tab without navigation
修复多标签在某些情况下关闭页签不会跳转路由的问题

fixed: #1131
2021-09-16 00:09:18 +08:00
无木 cecdfbaf29 fix(tabs): dropdown items enabled unnecessary
修复标签头的右键菜单某些项目不恰当地处于可用状态

fixed: #1207
2021-09-15 23:15:01 +08:00
无木 84c7d516df fix(table): prop `inset` take no effect
修复BasicTabled的inset属性不起作用的问题

fixed: #1209
2021-09-15 23:04:36 +08:00
无木 15ea0d2f53 fix(tree): node slot take no effect
修复BasicTree节点插槽不起作用的问题
2021-09-15 19:50:26 +08:00
无木 ba2c1a3bf5 fix(table): editable cell can not submit
修复可编辑单元格某些情况下无法提交的问题
2021-09-15 12:51:21 +08:00
无木 2346a90c08 fix(modal): `maskClosable` and `Esc` take no effect
修复BasicModal按Esc和点击遮罩无法关闭的问题

fixed: #1203
2021-09-15 10:56:14 +08:00
无木 6544f84bc2 feat(demo): add token expired example
添加token超时例子
2021-09-14 22:11:21 +08:00
vben 2820d5a627 fix: improve type introduction, fix #1196 2021-09-13 23:46:31 +08:00
无木 9640484895 fix: fixed token clear error
修复将token设置为undefined时可能失败的问题
2021-09-13 19:04:02 +08:00
无木 f87b0f2f5e fix(api-select): fixed `value` prop define
修复ApiSelect的value属性定义问题

fixed: #1175
2021-09-11 22:52:52 +08:00
无木 656ee4e5c9 fix(upload): `accept` not work as expected
修复basicUpload的accept属性未按预期工作的问题
2021-09-11 21:47:04 +08:00
无木 7593ef6a4f fix(table-action): `divider` not work as expected
修复tableAction中的divider未按预期工作
2021-09-11 20:26:27 +08:00
无木 b3307fe283 fix: warning in logout action
修复退出登录相关代码中的警告
2021-09-11 11:08:34 +08:00
无木 73dc492b2a feat(markdown-viewer): add new component
新增MarkdownViewer组件用于显示Markdown格式的富文本

close: #1181
2021-09-10 11:24:53 +08:00
无木 0bb9c035f7 fix(markdown): `value` not worked on init
修复Markdown组件的value属性初始值不起作用的问题
2021-09-10 11:22:40 +08:00
Francis Zuo 9e9ea3f43d
fix: 修复弹窗全屏按钮异常关闭的问题(#1177) (#1182) 2021-09-09 22:59:53 +08:00
vben 996f2f3c22 chore: update deps 2021-09-09 22:59:10 +08:00
love-life 7df9b51344
fix: 修改axios 中 urlPrefix 字段不生效问题 (#1170)
* fix(样式污染): 会污染其他带有srcollbar的组件样式

* fix(axios): urlPrefix 字段传递不生问题效
2021-09-09 09:41:34 +08:00
handsomeFu c753d945e0
fix: 修复 `apiSelect` 绑定值 `attrs` 的问题 (#1172)
* chore(permission): fix func name typo

* fix(apiSelect): fix `v-bind` value  `attrs` to `$attrs`
2021-09-09 09:40:53 +08:00
无木 83c1683bfd feat(demo): add `JsonPreview` demo
添加JsonPreview组件的使用演示

close: #1146
2021-09-06 20:36:19 +08:00
无木 044e2e4e86 fix(table): `rowClassName` not worked with `striped`
修复rowClassName属性无法和striped同时生效的问题

fixed: #1167
2021-09-06 20:13:13 +08:00
frezs 59a9087728
feat(table): 添加和支持动态删除和插入数据 (#1152) 2021-09-06 09:14:12 +08:00
Lan 3b6b4f7303
perf(tree): 优化Tree搜索功能,添加搜索高亮功能,优化样式表现 (#1153)
1. 修复expandOnSearch与checkOnSearch功能
2. 添加selectOnSearch功能
3. 添加搜索高亮title功能
4. 优化TreeHeader的样式表现: searchInput自动扩充
2021-09-06 09:13:53 +08:00
songweionline 5fa730c49a
fix(table): Solve the bug of setting ifshow to false in table column (#1166)
表格列设置ifshow为false,表格的列设置里依然会渲染该列的checkBox,实际应该不渲染。如果需要隐藏应该是设置defaultHidden。
2021-09-06 09:13:35 +08:00
vben 6cadcf087d chore: update deps 2021-09-05 18:11:59 +08:00
江麻妞 95aca2ab8d
fix (modal): 修复对话框 hook 不设置 loaded问题 (#1143)
fix (modal):  修复对话框 hook 不设置 loaded问题
2021-08-30 09:05:15 +08:00
Lan e00578c40a
feat(tree): 1. 添加自定义数据过滤判断方法 2. 添加搜索完成自动展开结果选项 3. 添加搜索完成自动选中结果选项 4. 树节点数据变化时强制搜索(同步searchData避免展示错误) (#1132) 2021-08-30 09:04:59 +08:00
Lan 6717fe654e
fix: Improve content height calculation (#1136)
* feat(useContentHeight): 为useContentHeight 添加 向上递归 移除差值 的功能。

* feat(useContentHeight): 为useContentHeight 添加 向上递归 移除差值 的功能。 pagewrapper添加 upwardSpace以支持向上递归功能。
2021-08-30 09:04:32 +08:00
无木 ee7c31db44 feat(table): add `onValid` for editRow
为table的可编辑行添加校验方法
2021-08-27 22:23:39 +08:00
无木 a36825a6d4 fix: add loss action for userStore 2021-08-27 11:24:36 +08:00
无木 628e820684 fix(card-list): fixed build error
修复CardList组件造成的build错误
2021-08-27 08:55:38 +08:00
JinMao 0f5ddbf1ec feat: add CardList component 2021-08-27 05:51:58 +08:00
无木 1ddfc31c3c fix: `getUserinfo` is compatible with empty roles data
修复getUserinfo接口数据未携带roles字段时登录失败的问题
2021-08-26 21:20:26 +08:00
无木 d27633fb31 fix: fixed build warning for style of `intro.js`
修复intro.js的样式文件造成的build警告

fixed: #1130
2021-08-26 20:50:25 +08:00
江麻妞 30fa4cfa2a
fix(table): 修复表格背景颜色再深色模式下会被穿透问题 (#1133) 2021-08-26 20:01:25 +08:00
love-life 6e7f6f82ed
fix(modal): avoid style pollution to the whole world (#1128) 2021-08-26 20:01:05 +08:00
vben 466d4edcd0 perf: optimize css volume 2021-08-25 23:04:15 +08:00
vben c8017b1365 fix(markdown): the hierarchy of markDown components after full screen 2021-08-25 22:42:39 +08:00
vben 56a966cfbf chore: format code 2021-08-24 22:41:48 +08:00
vben 2884e863ce perf: not waiting for router.isReady 2021-08-24 22:32:43 +08:00
无木 1235978ab2 fix: `useRedo` called duplicate may cause exception
修复useRedo的不当调用可能导致异常的问题

fixed: #1121
2021-08-24 21:01:28 +08:00
vben 9dd9fcd334 chore: adjust the windicss reference 2021-08-24 00:29:22 +08:00
无木 a426b9027e fix(table): fix table footer style
修复表尾合计行可能与主体部分的列没有对齐的问题

fixed: #1112
2021-08-23 16:36:26 +08:00
无木 edc3096565 fix(table): editable icon not show with empty cell
修复可编辑单元格当内容为空时不会显示编辑图标的问题

fixed: #1103
2021-08-20 17:07:42 +08:00
无木 3a5d1a5757 fix: refresh failed while token invalid
修复当token失效时,刷新页面可能出现异常的问题

fixed: #1101
2021-08-20 16:55:42 +08:00
无木 2c867b3d63 feat(table): add `beforeEditSubmit` for editable cell
单元格编辑功能新增提交回调
2021-08-19 23:57:42 +08:00
无木 fb43fad555 fix(tinymce): fixed `tinymce` destory method
修复tinymce销毁方法可能出现异常的问题
2021-08-19 19:51:55 +08:00
无木 8e01377481 fix(tinymce): fixed `inline` mode
修复Tinymce的inline模式在一些场景下会出现异常的问题

fixed: #1092
2021-08-18 22:55:36 +08:00
无木 e7c96363a1 fix(code-editor): fixed formatting error
修复JSON编辑器在格式化无效JSON文本时会抛出异常的问题
2021-08-18 20:52:34 +08:00
无木 93812f734e fix(echarts): theme setting supported
修复useECharts的theme参数不起作用的问题

fixed: #1095
2021-08-18 20:05:40 +08:00
vben e15b4f14db fix: fix all types of errors, compatible with volar plugin 2021-08-17 23:04:29 +08:00
无木 a5ff59237f feat(form): component `Divider` support `helpMessage`
Divider表单组件支持helpMessage配置
2021-08-17 22:59:36 +08:00
vben 65735926d4 chore: update deps 2021-08-17 22:15:27 +08:00
无木 47a448b8ae feat(form): add `Divider` for schema component type
新增Divider用于较长表单的区域分割
2021-08-17 17:50:54 +08:00
无木 5138e447e7 fix: `slots` worked in `basicTable` and `basicModal`
修复basicTable和basicModal的插槽传递异常的问题
2021-08-17 17:09:48 +08:00
vben 8fa6015b1a chore: change to setup syntax 2021-08-16 23:43:09 +08:00
handsomeFu 91cbe0a03b
chore(permission): fix func name typo (#1082) 2021-08-16 23:15:19 +08:00
CXM 72634ffe6e
fix: add axios error info from response (#1083)
* fix(type): fix ant-design-vue  ->

* fix: add axios error info from response
2021-08-16 23:14:40 +08:00
无木 c420174c1d style: fix `basicButton` style 2021-08-16 20:18:53 +08:00
无木 3ba8a67647 fix: fixed basicButton ghost style
修正BasicButton幽灵状态的样式
2021-08-16 08:47:45 +08:00
无木 beb4ae92c1 fix: fixed basicButton style
修正BasicButton的样式
2021-08-16 07:35:47 +08:00
无木 cc46935a82 feat: always refresh userinfo when page reload
每次刷新整个页面时都从接口更新用户信息
2021-08-16 06:04:12 +08:00
无木 53e79a2d94 fix(table): fix `injection not found` warning
修复injection警告
2021-08-16 05:52:04 +08:00
RemMai b07003e184
添加v-model:value双向绑定的支持 (#1073)
无需在Change事件中修改绑定的Value。
仅需在属性中设置 v-model:value,选择图标后,value值自动修改。
2021-08-15 22:37:21 +08:00
vben 45a8eb974a refactor(dashboard): change to setup syntax 2021-08-15 22:36:46 +08:00
无木 2dd3d85448 fix: fixed `useRedo` may loss route params
修复useRedo会丢失当前路由的params数据问题

fixed: #1079
2021-08-15 16:45:13 +08:00
无木 da12da9d8c perf(table): fixed code style
修复一些代码检查警告,并且为table的canResize属性添加不兼容场景警告

close: #1070
2021-08-15 08:54:42 +08:00
无木 30c5fc63c8 fix(demo): fix form style in modal
修复演示页面中Modal内的Form样式问题

closed: #1076
2021-08-14 23:21:05 +08:00
无木 7971896383 fix(table): `size` not worked in `editComponentProps`
修复无法设置basicTable编辑组件的size属性的问题

fixed: #1074
2021-08-14 22:31:25 +08:00
无木 a8b18c2697 style: fix selected background color of `tr`
修复表格选中行的背景颜色与固定列的冲突

fixed: #1069
2021-08-14 21:12:30 +08:00
无木 bcfa338227 feat: add `updatePath` for `useTabs`
添加更新标签path的方法

close: #1068
2021-08-13 15:13:35 +08:00
无木 b1f31762e3 fix: `slots` working in components
修复vue新版本改动导致组件传递slots可能出现错误的问题
2021-08-13 15:06:06 +08:00
无木 93f9a19aa1 feat(form): add `alwaysShowLines` prop
允许设置Form折叠时始终保持显示状态的行数

close: #1051
2021-08-13 11:51:23 +08:00
无木 61d853e6a5 style(types): fix some type statement 2021-08-13 11:13:29 +08:00
无木 1f55c4180f fix(i18n): add i18n translate data
添加部分缺失的翻译文案
2021-08-13 11:11:35 +08:00
无木 4b6025cb9a fix(table): `getSelectRows` support multi-page
getSelectRows支持跨页选择

close: #914
2021-08-13 08:50:28 +08:00
vben 2f6d133b96 refactor(application): change to setup syntax 2021-08-13 07:29:33 +08:00
vben 9035fd191e fix(types): fix some type errors 2021-08-13 00:12:51 +08:00
vben bb89c5059c refactor(sys): change to setup syntax 2021-08-12 23:54:12 +08:00
CXM 66feb779a8
fix: fix build handler & misc (#1060)
* fix(type): fix ant-design-vue  ->

* fix: fix build handler & misc
2021-08-12 23:23:44 +08:00
无木 60577d6720 feat(tree): add searchable function
添加搜索功能相关属性和方法

close: #1057
2021-08-11 17:59:07 +08:00
无木 953bfc6f1a fix(modal): `helpMessage` doesn't work
修复`helpMessage`属性不起作用的问题
2021-08-10 23:02:59 +08:00
无木 2052eb5a65 fix(table): wrong bg-color in fullscreen mode
修复浅色主题下的table在全屏状态时背景颜色不正确的问题
2021-08-10 22:34:41 +08:00
无木 019555be0c fix(table): `selection-change` not triggered in unchecking
修复selection-change事件在取消勾选时未能正确触发的问题

fixed: #1053
2021-08-10 14:36:29 +08:00
无木 33a335a3f5 fix(table): `0` is not shown in editable cell
修复可编辑单元格中未能正确显示零值的问题

fixed: #1039
2021-08-09 21:49:11 +08:00
CXM 6d5388aaf1
fix(type): fix ant-design-vue -> (#1043) 2021-08-08 10:16:37 +08:00
spking11 b2d49cbbf8
fix(locales): fix that vscode extension i18n-Ally detect zh-CN as zh (#1044) 2021-08-08 10:16:19 +08:00
Leo Caan (陈栋) 1bb5156923
fix(route): the whitelist should include basicRoutes (#1048)
* fix(table): recursive updateTableDataRecord

无刷新更新表格数据时,支持递归查找,用于树状数据时。同时新增 findTableDataRecord 函数,用于支持无刷新新增数据到树状表格中

* fix(router): whitelist include basicRoutes

白名单应包含不在菜单上出现的静态路由,否则在动态切换菜单 resetRouter 时会丢失这些,如在usePermission.resume中

* fix: get basicRoutes whitelist bad code
2021-08-08 10:15:34 +08:00
JasonYHZ f3cf162af1
feat(table): add getRawDataSource() function (#1029) 2021-08-04 08:59:21 +08:00
无木 381943078f fix(cropper): cropper not destroy in time
图片剪裁组件未能及时销毁资源

fixed: #1027
2021-08-03 21:17:38 +08:00
无木 26f251e1ed fix(qrcode): qrcode not displayed properly
fixed: #1026
2021-08-03 20:55:40 +08:00
无木 1214b7c32c fix(table): `cellFormat` support `Map`
close: #1031
2021-08-03 20:37:02 +08:00
Vben 5e17cc8802 refactor: refactor tailwindcss to windicss 2021-08-03 07:40:29 +08:00
Dack Wang 02e7756062
fix(): The Style of tableTitle slot (#1023)
Co-authored-by: 王英琦 <wangyingqi@91bihu.com>
2021-08-03 07:36:40 +08:00
Leo Caan (陈栋) 72f953c8d3
fix(table): recursive updateTableDataRecord (#1024)
无刷新更新表格数据时,支持递归查找,用于树状数据时。同时新增 findTableDataRecord 函数,用于支持无刷新新增数据到树状表格中
2021-08-03 07:36:15 +08:00
yanzhuang d76cfd7f80
fix: fix iframe heigth error (#1012) 2021-08-01 08:51:52 +08:00
Lowell 2fd0fd281e
fix: the position of tinymce upload image is wrong (#1015) 2021-08-01 08:51:01 +08:00
Li Li be2d11d5d3
fix: Fix the invalid hot update of BasicButton when changing style outside (#1016)
* chore: ignore bak dir

Signed-off-by: LiLi <urfreespace@gmail.com>

* fix: 修复BasicButton在外部改变样式热更新无效问题

Signed-off-by: LiLi <urfreespace@gmail.com>

* chore: remove extra ignore

Signed-off-by: LiLi <urfreespace@gmail.com>

* chore: ignore fix

Signed-off-by: LiLi <urfreespace@gmail.com>
2021-08-01 08:50:21 +08:00
无木 26d9476caf feat(use-loading): add `setTip` method
为useLoading添加setTip方法
2021-07-30 16:59:52 +08:00
无木 ddd1893b11 fix(tree): fix `checkAll` effects `disabled` node 2021-07-30 15:25:13 +08:00
Wang Weitao e8eefd1bca
fix: typo for utils/env (#1004) 2021-07-29 22:43:04 +08:00
无木 8879ae8d77 fix(page-wrapper): fix `class` not working 2021-07-29 20:12:54 +08:00
无木 f2b8bb43a0 fix(table): fix `getSelectRows` for treeTable
修复getSelectRows不支持树形表格子级数据的问题

fixed: #1003
2021-07-29 18:37:19 +08:00
Lowell 225bd4c39d
fix: style property of actionColOpt is invalid (#997) 2021-07-28 23:09:25 +08:00
江麻妞 7e6a89ffeb
fix: typo (#980) 2021-07-28 23:08:54 +08:00
周旭 189bc6feb3
feat: Added support for tailwindcss night mode mechanism (#998)
* feat: 新增支持 tailwindcss 的夜间模式支持

(cherry picked from commit 1de8704b61c38c92bc6877d0bec9e6f67766b3c8)

* docs: update changelog
2021-07-28 23:08:41 +08:00
无木 a544dd3e58 fix: auto remove script dom in `useScript`
修复useScript未能自动移除script节点的问题
2021-07-28 11:24:26 +08:00
无木 0065ab0b2d style(header): fix `notify` icon color in dark
修复暗色header中的通知图标的颜色问题
2021-07-28 11:09:53 +08:00
无木 e32789373e fix(table): fix `pagination` props working
修复table的pagination属性无法动态设置数据的问题
2021-07-27 17:10:06 +08:00
无木 bdf0be81b0 type(preview): fix type definition
修复Preview组件的事件参数类型定义
2021-07-26 21:18:55 +08:00
无木 e23bd2696d feat(preview): add more features
为Preview组件添加新的属性及事件
2021-07-26 20:58:18 +08:00
Lowell 98c206d9c9
fix: expandIcon slot of BasicTable component is invalid (#975) 2021-07-25 09:01:39 +08:00
江麻妞 fe4eae3714
fix(qrcode): Fix the problem that the QR code cannot be dynamically generated (#974)
* fix: Fix the problem that the QR code cannot be dynamically generated

* Fix the problem that the size of the QR code is automatically changed when dynamically generated
2021-07-25 09:01:09 +08:00
无木 14fb21d0b7 fix(table): fix expand style
修复启用expandRowByClick展开图标样式问题

fixed: #969
2021-07-24 20:09:10 +08:00
无木 dce3fb0f20 fix(table): fix tableSettings popup in fullscreen mode
修复全屏模式下的表格设置组件的弹出层配置
2021-07-24 16:11:17 +08:00
无木 a5a9b3fb34 fix(table): fix `dataPicker` show in `fullscreen` mode
修复basicTable编辑组件的校验提示以及日期选择框的弹出层在全屏模式下的显示问题
2021-07-24 14:48:09 +08:00
无木 a07ab6d7aa fix(table): component shown in `fullscreen` mode
修复表格在全屏模式下编辑组件弹出层的显示问题
2021-07-24 14:36:16 +08:00
无木 9b8f165a36 fix(table-action): stopButtonPropagation not working
修复TableAction组件的stopButtonPropagation属性无效的问题
2021-07-24 13:27:10 +08:00
无木 e1c47233ed fix(demo): multi-modal used with dynamic component
修复以动态组件的方式使用多个modal的演示
2021-07-23 15:55:15 +08:00
无木 8702965057 fix(demo): account page form validation
修复账号管理页面对不可见表单域的验证问题
2021-07-23 09:57:42 +08:00
无木 cebc6a590e fix(login): fix `auto fill` style in dark-theme
修复黑暗主题下的自动填充表单域样式
2021-07-23 09:33:14 +08:00
SUPER_AI 525484e7a4
fix(echarts): fix graphic config cannot be used in echarts options (#959) 2021-07-23 07:29:53 +08:00
wl19 350c85accf
fix(utils): The date function gets a non-date when the parameter is null (#954)
Co-authored-by: “weilin <“784742294@qq.com>
2021-07-23 07:29:39 +08:00
无木 202aa42b8d fix(table): editable cell display with validation
修复带验证的可编辑表格的组件意外失焦的问题

fixed: #953
2021-07-23 01:18:55 +08:00
无木 8d185bb584 fix(form): remove console error for `setFieldsValue`
移除setFieldsValue方法输出的控制台错误

fixed: #952
2021-07-23 01:13:10 +08:00
无木 27207a78ca fix: fixed moment locale config
修复moment的英文语言配置
2021-07-23 01:02:05 +08:00
无木 d1e0e8bcea fix(dark-theme): fixed `TreeSelect` & `DatePicker` theme
修复黑暗主题下的组件样式

fixed: #955
2021-07-23 00:35:40 +08:00
M69w d3f08e37c5 fix(style): fix checkbox-checked css in dark mode 2021-07-22 20:52:55 +08:00
Lan 9c4889f085
fix(perm-guard): Fix the problem that the routing query is lost after refreshing the page (#941) 2021-07-21 23:27:24 +08:00
无木 59cf860564 style(alert): fix alert border color
修复Alert组件的默认边框颜色不正确的问题
2021-07-21 23:19:44 +08:00
无木 662b576ac2 fix(dark-theme): style for checked tree nodes
修复黑暗主题下已勾选的Tree的复选框的样式问题
2021-07-21 22:43:47 +08:00
无木 42812162c4 fix(dark-theme): disabled link `button` color
修复黑暗主题下禁用状态的link类型按钮的颜色
2021-07-21 21:51:48 +08:00
无木 9b7ede09b9 fix(dark-theme): alert color in dark-theme
修复Alert组件在Dark主题下的颜色问题
2021-07-21 21:39:23 +08:00
无木 32d64dbe81 fix(img-rotate-drag-verify): fix `resume` method support
修复ImgRotateDragVerify组件的resume方法无效的问题

fixed: #946
2021-07-21 17:52:07 +08:00
无木 8b4b767f4c feat(demo): add `async-validator` demo
添加表单使用后端接口异步验证的例子
2021-07-21 15:44:46 +08:00
无木 341bd633d8 fix(demo): menu `error-log` link to 404 page
修复演示菜单的错误日志页面指向了404的问题
2021-07-21 11:20:40 +08:00
无木 571f28138f fix(form): fix `validate` promise catch
修复自动校验时没有捕获promise catch的错误提示
2021-07-21 11:18:10 +08:00
无木 4bb506fb1f fix(table): fix editable cell not support `ellipsis`
修复可编辑单元格不支持ellipsis配置的问题

fixed: #944
2021-07-21 00:43:37 +08:00
无木 c734f6858d fix(api-tree-select): auto reload while `params` changed
修复ApiTreeSelect组件没有正确监听params变化的问题
2021-07-20 18:01:18 +08:00
无木 7a7dab0c4b feat(demo): multi-modal in one page usage
添加使用is动态组件来在页面内使用多个modal的演示
2021-07-19 18:40:02 +08:00
无木 59eb828d4d style: fixed line break style
修正换行符
2021-07-19 16:37:47 +08:00
无木 52af1dd0d4 feat(basic-table): add `ApiTreeSelect` edit component
为表格添加ApiTreeSelect编辑组件,修复一些其它的已知问题
2021-07-19 16:25:56 +08:00
无木 897bed9729 fix(api-select): fix `options-change` event data
修复options-change事件参数不是select所使用的标准options数据的问题
2021-07-19 16:19:51 +08:00
无木 a764a95ae9 fix(countdown-input): add `slots` support
为CountdownInput组件添加Input的插槽支持
2021-07-19 15:27:05 +08:00
无木 535bdddf91 fix(demo): fix display problem of editable table with `apiSelect`
修复ApiSelect在可编辑表格中的显示问题
2021-07-19 00:51:02 +08:00
lzdjack 03b17a8f8b
fix(formItem): Fix labelcol type mismatch (#903)
*修复antdv升级后formItem中labelCol没有类型style的bug
2021-07-18 23:25:51 +08:00
无木 8832a074dc fix(code-editor): `value` not support use as `v-model`
修复value不支持v-model用法的问题

fixed: #933
2021-07-17 18:01:23 +08:00
无木 61ce25be1b fix(table): `value` show problem in editable cell
修复可编辑单元格的值不能直接通过修改dataSource来更新显示的问题。

fixed: #922
2021-07-16 13:59:55 +08:00
无木 d9d0071401 fix(api-tree-select): fix `event` checked in form
修复ApiTreeSelect在BasicForm内使用时可能出现的onChange类型检查失败的警告
2021-07-16 13:17:25 +08:00
无木 f8440175f3 fix(model): auto validate on value change
修复BasicModel的表单值发生变化时未能自动校验

fixed: #920
2021-07-16 13:14:24 +08:00
无木 5baaa58581 fix(modal): fixed `fullscreen` not worked
修复全屏功能异常的问题

fixed: #918
2021-07-16 11:22:12 +08:00
无木 f707541dda fix(tree): fixed `checkedKeys` with `search` mode
修复搜索状态的切换导致的勾选值可能不正确的问题
2021-07-16 10:56:37 +08:00
无木 b06a7ab77b fix(basic-tree): `checkedKeys` not worked with `search`
修复搜索功能可能导致`checkedKeys`丢失的问题

fixed: #915
2021-07-15 23:17:31 +08:00
无木 1b3058f825 fix(api-tree-select): auto load data if necessary
修正ApiTreeSelect的数据加载时机
2021-07-15 18:39:54 +08:00
无木 d81db890df feat(api-tree-select): add `api` options to tree-select
添加ApiTreeSelect组件
2021-07-15 18:05:13 +08:00
无木 c1178027f0 fix: fix homePage affix error
修复当没有通过接口为用户指定首页时,如果默认的首页是一个带有重定向的路由,则可能出现双首页Tab的问题
2021-07-15 17:15:15 +08:00
无木 db7254a5e0 fix(table-action): fix `circle` button style
修复table-action组件内的圆形按钮内容没有居中的问题
2021-07-15 15:42:47 +08:00
无木 dc51e6a8d4 fix(table-action): fixed icon `margin` without label
修复当没有label时,icon没有在按钮内居中的问题
2021-07-15 14:36:40 +08:00
无木 4b46a84c2b fix: infinite redirect in `BACK` mode
修复后端权限模式下的路由无限重定向的问题
2021-07-15 01:59:23 +08:00
无木 87583c8b54 fix: ensure PAGE_NOT_FOUND_ROUTE exist
修复某些情况下404路由可能白屏的问题
2021-07-14 21:37:10 +08:00
无木 1e63379088 fix(multiple-tab): ignore login page
修复标签页可能会创建登录页面标签的问题
2021-07-14 20:44:52 +08:00
无木 237e65eac9 fix: resolving `Vue Router warn`
移除因为动态加载路由而产生的vue-router警告
2021-07-14 20:32:58 +08:00
无木 6350224a1b style(basic-table): remove scroller patcher
移除table滚动条样式覆盖
2021-07-14 16:37:53 +08:00
Vben ae7821e296 fix(modal): ensure that props are passed correctly,fix #897 2021-07-13 22:46:01 +08:00
yanzhuang a1d956d369
fix(useWatermark): fix `func` call `createWatermark` call `clear` to resizeEvent removed (#901) 2021-07-13 22:23:11 +08:00
无木 35e1347029 fix(markdown): set `value` error
修复markdown组件在完成初始化之前动态设置value可能导致异常的问题
2021-07-13 18:04:42 +08:00
无木 d95815b503 fix(markdown): resolving markdown exceptions
修复markdown组件的异常以及不能正确设置value的问题
2021-07-13 15:28:10 +08:00
无木 0a3683a186 feat: customized user home page
新增自定义的用户首页(可以每个用户都不相同)
2021-07-13 14:10:31 +08:00
无木 f5e31febbd fix(breadcrumb): `redirect` not worked
修复面包屑组件的重定向菜单不能工作以及eslint警告
2021-07-13 11:09:00 +08:00
周旭 6f830703a2
perf(menu): Optimize the style of the bottom collapse button in the Mix menu layout (#896) 2021-07-13 09:25:46 +08:00
无木 012020e51c style(notice-list): adjust style
去除通知列表组件标题和内容部分多余的margin-bottom,禁止自动隐藏不可用的翻页按钮
2021-07-12 22:33:28 +08:00
无木 aeebfc4d3d style(notice-list): fix `margin-bottom` value
去除通知列表组件标题和内容部分多余的margin-bottom
2021-07-12 22:22:33 +08:00
无木 c16be2c499 feat(notice-list): add `pagination` support
为通知列表组件添加分页、超长自动省略、标题点击响应、标题删除线等功能

fixed: #894
2021-07-12 22:12:16 +08:00
无木 0f28e803d0 fix(table-action): incorrect button color of `disabled` state
修复表格操作列的按钮在disabled状态下的颜色显示

fixed: #891
2021-07-12 16:46:27 +08:00
无木 cad021c34b fix(menu): fix mix-menu incorrect jumping in `hover` mode
修复悬停触发模式下左侧混合菜单会在没有子菜单且被激活时直接跳转路由
2021-07-09 19:20:05 +08:00
无木 5ceeefd17d fix(menu): display error when contains hidden items
修复顶栏菜单在包含隐藏项目时的显示问题
2021-07-09 17:25:38 +08:00
无木 a9bbed1973 fix(form): fix `suffix` slot style
修复suffix插槽的样式问题
2021-07-09 16:39:50 +08:00
无木 0595a72da9 fix(mix-sider): fix mix-sider hover logic
修复左侧混合菜单的悬停处理逻辑
2021-07-09 13:56:33 +08:00
无木 c7c0a7e4c8 fix(table): fix index column style
修复序号列的样式问题
2021-07-09 13:37:13 +08:00
无木 05329ce950 fix(upload): ensure the value type is correct
修复BasicUpload组件在设置null值时的问题
2021-07-09 00:22:00 +08:00
周旭 7b76945bff
chore: perf TableAction.vue、build/utils.ts、prettier.config.js (#868)
* perf: 优化 build 时 vite 模式判断

* perf: 优化 TableAction, 仅在 action.tooltip 存在的情况下 才使用 Tooltip 组件

* docs: 仅在 action.tooltip 存在的情况下 才使用 Tooltip 组件

* fix: 在 window 上,拉取代码后 eslint 因 endOfLine 而保错问题

* docs: 修复在 window 上,拉取代码后 eslint 因 endOfLine 而保错问题
2021-07-08 23:20:49 +08:00
无木 540423ecf7 feat(table): add `headerTop` slot
为表格添加`headerTop`插槽(表格头部的标题之上),以及相关演示

close: #881
2021-07-08 20:16:22 +08:00
无木 9cf070dd63 feat(api-select): clear options before fetch
ApiSelect组件在发起新的请求之前先清空已有的options
2021-07-08 02:50:33 +08:00
无木 41e6d94b3b feat(demo): add search demo for apiSelect
添加ApiSelect的本地搜索和远程搜索例子
2021-07-08 02:46:15 +08:00
Vben dafcdd898c fix: ensure that safari is running properly, fix #875 2021-07-07 23:40:29 +08:00
无木 1e61da644f fix(table): fix tree node align
修复树形表格的带有展开图标的单元格的内容对齐问题

fixed: #829
2021-07-07 22:38:00 +08:00
无木 9228282ae2 fix(demo): form pages support `keepAlive`
修复表单演示页面不支持keepAlive的问题
2021-07-07 21:33:08 +08:00
无木 45a94e41c1 fix(demo): resolve `key not exist` warnings
修复角色编辑页面可能会出现tree组件报key not exist警告的问题
2021-07-07 21:26:20 +08:00
无木 542121129e feat(demo): add basicTree with async data expand all
演示basicTree使用异步数据并自动展开
2021-07-06 17:10:19 +08:00