Commit Graph

204 Commits

Author SHA1 Message Date
miofly 5902886798
fix(type): 修复几个 ts 报错,和文件引用位置 (#1283)
* fix(type): 删除多余的类型定义

* fix(login): 删除登录时的 toRaw 包裹参数

* fix(type): 修复几个 ts 报错,和文件引用位置
2021-10-12 18:30:32 +08:00
erniu 935d4fc12d
feat(Upload): 兼容ant-design-vue的upload属性 (#1247)
1. 兼容`name`属性,用于自定义发到后台的文件参数名; 2. 兼容`filename`属性

Co-authored-by: erniu <joe.cheng237@gmail.com>
2021-10-05 22:53:21 +08:00
无木 6544f84bc2 feat(demo): add token expired example
添加token超时例子
2021-09-14 22:11:21 +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
vben 56a966cfbf chore: format code 2021-08-24 22:41:48 +08:00
无木 3a5d1a5757 fix: refresh failed while token invalid
修复当token失效时,刷新页面可能出现异常的问题

fixed: #1101
2021-08-20 16:55:42 +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
vben 9035fd191e fix(types): fix some type errors 2021-08-13 00:12:51 +08:00
无木 1214b7c32c fix(table): `cellFormat` support `Map`
close: #1031
2021-08-03 20:37:02 +08:00
Wang Weitao e8eefd1bca
fix: typo for utils/env (#1004) 2021-07-29 22:43:04 +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
yanzhuang a1d956d369
fix(useWatermark): fix `func` call `createWatermark` call `clear` to resizeEvent removed (#901) 2021-07-13 22:23:11 +08:00
无木 49f39de7b4 feat(axios): use `defHttp` like `axios`
当非GET请求并且同时存在data和params,不再忽略data。使defHttp的用法习惯接近axios原生配置

fixed: #850
2021-07-03 14:01:18 +08:00
无木 d509e897be fix(axios): option `withToken` not work 2021-06-30 01:07:27 +08:00
无木 d38ff6670a fix(lock-screen): ensure lock info is saved
确保打开多个窗口锁屏时,其它窗口不会误覆盖锁屏状态
2021-06-29 20:23:47 +08:00
无木 e5f37885ff fix: multi windows token sharing
修复同时打开多个窗口时令牌没能同步共享的问题

fixed: #761
2021-06-29 19:41:06 +08:00
无木 d7b84c7874 fix(lock-screen): fix lock-screen can skip on new window
修复锁屏功能可以通过刷新页面或复制 URL 打开新的浏览器标签来跳过锁定状态的问题
2021-06-29 18:34:51 +08:00
无木 c99cf5e53f feat(axios): add `withToken` option
添加withToken配置,用于控制request是否提交token
2021-06-29 17:31:30 +08:00
vben 913c22c84f feat(menu): the route is automatically mapped to the menu 2021-06-27 23:58:14 +08:00
vben 327d71b8fb perf(router): reduce the number of guard files 2021-06-27 22:59:59 +08:00
bbkkkk8 d97aa92741
fix(comp-tree): support comp-tree-foreach stop,add insertNodesByKey (#818)
Co-authored-by: git <lixiaokang215@163.com>
2021-06-27 00:01:38 +08:00
无木 61d4efd55a revert(axios): remove baseUrl config
无需 baseUrl 配置,已有apiUrl 替代
2021-06-26 12:14:06 +08:00
JinMao d5f9919b60 fix: fix defHttp baseUrl work 2021-06-26 04:47:17 +08:00
Vben c4b22a225d fix(upload): make sure to carry custom parameters, fix #802 2021-06-23 22:37:30 +08:00
Vben 893f3c79e7 refactor(css): refactored windicss to tailwindcss 2021-06-20 21:36:52 +08:00
Vben d3d620f4fc perf(utils): mitt default export is changed from Class to Function 2021-06-19 22:38:29 +08:00
无木 ea6834aeec feat: optimize error message for api failure
优化request并发请求失败时的错误提示(同种类型的失败只提示一个message)
2021-06-18 17:14:31 +08:00
Vben 0d0708409c feat(project-setting): added sessionTimeoutProcessing project configuration item,fix #772 2021-06-17 23:39:55 +08:00
Vben b6d5b0796d feat(axios): added authenticationScheme configuration,fix #774 2021-06-17 23:25:31 +08:00
xlaoyu 49b66e83ac
refactor(axios): control the display of common errors in the request cycle (#758)
Co-authored-by: frankylli <frankylli@tencent.com>
2021-06-16 22:34:32 +08:00
Vben 00fca0fe6c chore: prettier code 2021-06-09 22:36:30 +08:00
Vben 55e9d9fc29 perf: optimize components and add comments 2021-06-09 00:22:29 +08:00
Leo Caan (陈栋) f62f378f42
chore: add util for install component (#707) 2021-06-08 14:28:19 +08:00
Vben cda0f9c10a chore: add some notes 2021-06-07 21:30:27 +08:00
Vben 50f94bfee4 chore(axios): remove useless code 2021-06-06 15:12:15 +08:00
无木 b69dcd79d7 fix(axios): transformRequestHook logic error 2021-06-04 14:18:22 +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
vben 834fa7eb9c fix(axios): make sure that the parameter is an object before processing, fix #660 2021-05-27 23:58:21 +08:00
vben 5465f058ce feat(user): add user login expiration example 2021-05-25 23:14:05 +08:00
江麻妞 d34467d3f4
fix(cipher): fix #587 (#588) 2021-05-12 20:35:52 +08:00
zuihou 4c16ffa383 Merge remote-tracking branch 'origin/main' 2021-05-12 13:19:23 +08:00
zuihou 56d8af147e feat(axios): Do you want to return the original response header? For example, use this property when you need to get the response header 2021-05-12 13:19:14 +08:00
江麻妞 a7c8c67c83
chore: typo (#584)
* fix: 变量名错误

* fix: 修复正则可以匹配纯数字问题
2021-05-11 18:56:38 +08:00
Yirius 5724bc5b3b
perf: set header can use For Qs (#562)
set header can use For Qs
2021-05-05 21:19:12 +08:00
最后 e1b30a5075
fix: update Axios.ts (#492)
1. 应该使用传递进来的 请求头
2. 针对有数组类型的参数,应该用brackets 或者 repeat 。  最好将arrayFormat参数改成可以让使用者通过入参来改的。  参考: https://blog.csdn.net/pifutan/article/details/86320705
2021-04-17 22:30:53 +08:00
Vben a863ad46b4 fix(tinymce): ensure that the public resource path is correct,fix #487 2021-04-17 00:01:31 +08:00
Vben c9089c3243 chore: typo 2021-04-13 21:42:10 +08:00
Vben 663d13a67f fix: fix case errors 2021-04-10 23:57:50 +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
Vben 8a14069e71 refactor: refactor dashboard 2021-03-31 23:52:11 +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 a98835e18b chore: types 2021-03-26 22:22:58 +08:00
Vben 159d900df3 chore: update deps 2021-03-23 23:26:57 +08:00
Vben 8fb03961f5 fix: ensure permissionMode exists close #409 2021-03-23 22:31:23 +08:00
Vben fedd9caefb wip: cache miss 2021-03-23 00:21:09 +08:00
Vben e12c588c0a refactor(route): refactoring the routing multi-layer model close #215 2021-03-17 00:10:16 +08:00
Vben a89eeef6f3 feat(time): added time compoennt close #285 2021-03-12 21:40:23 +08:00
Vben 2c6aa8528d refactor: code optimization 2021-03-10 22:28:37 +08:00
Vben 970d4049fd chore: update deps 2021-03-09 23:01:32 +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 3b8ca420c7 feat: add dept management page 2021-03-01 22:54:21 +08:00
Vben 15567e478c fix: improve persistent cache logic 2021-02-28 12:25:57 +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 f57eb944ed perf: improve persistent logic 2021-02-27 19:55:30 +08:00
Vben 11d3f395ca fix: ensure to request the interface correctly 2021-02-26 23:30:22 +08:00
Vben a821d9a3a2 perf: imporve axios logic 2021-02-26 22:45:53 +08:00
Vben ec7bef792b fix: ensure that storage is deleted correctly close #292 2021-02-26 20:21:13 +08:00
Vben fcee7d4eb7 perf: move src/types to root 2021-02-26 20:09:24 +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 c41fa75265 feat: axios supports form-data format requests 2021-02-24 20:45:53 +08:00
vben a09a0eedd2 perf: improve login logic 2021-02-22 23:04:47 +08:00
vben be3a3ed699 perf: remove useless code 2021-02-22 00:01:03 +08:00
vben da04913ef3 feat: added settingButtonPosition configuration close #275 2021-02-18 21:12:27 +08:00
vben 1f96eaef99 chore: format site title #268 2021-02-13 09:19:08 +08:00
vben 589409305f perf: adjust the return value of the interface to obtain user information in array format #259 2021-02-13 09:17:11 +08:00
vben 5810078bc7 wip: code adjustment and optimization 2021-02-10 00:53:47 +08:00
vben 23657547ab perf: remove unless code 2021-02-09 23:06:00 +08:00
vben ca4f1a8faf fix(simple-menu): collapse openmenus error #204 2021-01-19 22:38:43 +08:00
vben ff2b12b409 refactor(menu): added component. Solve the menu stuck problem 2021-01-17 22:36:06 +08:00
vben c9600208c5 fix(table): table setting error #174 #165 2021-01-11 21:30:43 +08:00
vben de5bf757f2 fix(form): formAction slot not work 2021-01-07 21:16:30 +08:00
vben 144ab577da fix(modal): height calc error #161 2021-01-06 00:08:45 +08:00
vben 9c2f3f30bb refactor(table): refactor table #150 #148 #146 #130 #76 2020-12-31 21:24:47 +08:00
vben 116a1f7745 wip(table): perf table #136,146,134 2020-12-31 00:11:44 +08:00
vben a305e59124 fix(form): form validate error 2020-12-28 22:04:05 +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 e6db0d39b9 feat(layout): add mix sidebar mode 2020-12-21 23:38:16 +08:00
vben f646e37754 feat: axios add joinTime field 2020-12-15 21:27:45 +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 8f9eff78aa style: update back-top style 2020-12-11 00:32:09 +08:00
vben dddda5b296 feat: add search page 2020-12-10 23:58:11 +08:00