Commit Graph

241 Commits

Author SHA1 Message Date
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
vben 4ce1d526c8 refactor(lock-page): refactor lock page 2020-12-09 22:11:34 +08:00
vben 88f4a3f02a perf: perf menu 2020-12-07 22:38:44 +08:00
vben bd6b203fa9 fix(upload): repair file upload and delete invalidation 2020-12-07 22:38:43 +08:00
vben 1899146f71 perf: mobile style adjustment 2020-12-05 16:14:27 +08:00
vben c303ec1a23 refactor: refactor route 2020-12-03 21:49:32 +08:00
vben 962f90de44 feat: support vscode i18n-ally plugin 2020-12-01 23:51:39 +08:00
vben 4982786601 fix(form): fix updateSchema error #100 2020-11-28 14:27:26 +08:00
vben 81baf1d5c4 perf: perf modal and drawer 2020-11-27 23:41:45 +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 cedba37e4c feat: add tab drag and drop sort 2020-11-25 22:28:58 +08:00
vben 26b6109ca0 feat: add permissionCacheType setting 2020-11-25 21:26:10 +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
vben 737b1b190c wip: multi-language support 2020-11-23 00:35:15 +08:00
vben f7aa93f5b0 chore: miscellaneous modifications 2020-11-21 22:47:10 +08:00
vben 814f9a7add chore: update deps 2020-11-21 22:47:10 +08:00
vben 46e0875374 chore: add some notes 2020-11-18 22:41:59 +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
vben db3092db2e feat: add file download demo 2020-11-13 00:55:25 +08:00
vben d9b1960030 refactor(hooks): introduce vueuse, delete duplicate hooks 2020-11-12 22:40:16 +08:00
vben ecfb702b09 fix: type error 2020-11-12 22:20:15 +08:00
jq 746d4a745d wip: add upload component 2020-11-12 00:06:12 +08:00
vben 7692ffb95b feat: new menu and top bar color selection color matching 2020-11-11 22:13:59 +08:00
vben 4baf90a5c8 perf: optimize tab switching speed 2020-11-10 21:58:19 +08:00
vben a90d93fc4d fix: fix win system dynamicImport error 2020-11-10 00:54:08 +08:00
vben 9b61e82d74 refactor: route Module structural transformation 2020-11-09 01:08:43 +08:00
vben dc42d434f0 refactor: refactoring menu generation 2020-11-08 23:13:47 +08:00
vben 4f6b65b8a1 feat(trigger): add trigger config 2020-11-06 22:41:00 +08:00
vben 58f988a718 feat: add tinymce embedded form example 2020-11-05 23:43:34 +08:00
vben db0bfc8863 fix(table): fix table type error 2020-11-04 21:39:06 +08:00
vben 0c28ffa8e6 fix: fix fullscreen bg color not work (#75) 2020-11-03 21:36:54 +08:00
vben 35d2bfc562 fix: fix message type error 2020-11-01 18:34:35 +08:00
vben c8021ef325 chore: changed login cache from sessionStorage to LocalStorage 2020-11-01 14:58:27 +08:00
vben 275ad9f14e fix: fix the problem of closing multiple tabs 2020-11-01 12:27:15 +08:00
vben 4c658f4868 perf: the routeModule can ignore the layou configuration without writing 2020-11-01 11:55:18 +08:00
vben bdce84537a perf(button): delete the button component useless code 2020-10-30 00:56:11 +08:00
vben 2f1fbf8e48 style: add some notes 2020-10-29 23:01:11 +08:00
vben 34c09fcea8 fix: repair local development post request proxy to https error problem (#63) 2020-10-28 23:00:03 +08:00
vben c620f8279f perf: set cache default time 2020-10-27 22:53:31 +08:00
vben b350098f44 perf: adjust the logic of 2020-10-27 22:48:08 +08:00
vben 9ee0a561ae chore: update deps 2020-10-27 00:17:11 +08:00
vben f75425d13b perf: review tinymce code 2020-10-22 23:56:33 +08:00
vben 88de82c493 fix: fix drawer autoHeight 2020-10-22 22:32:39 +08:00
vben 66acb21edd perf: perf menu mini style 2020-10-21 21:44:57 +08:00
vben 7101587b96 feat: add error handle 2020-10-18 21:55:21 +08:00
vben 31e2715e67 chore: detail optimization 2020-10-14 21:08:07 +08:00
nebv 02d6a39402 fix: fix missing cache of refresh page 2020-10-13 22:22:04 +08:00
nebv bb3b8f817d feat: the production environment can be dynamically configured 2020-10-13 01:40:21 +08:00
nebv e83cb06bb9 feat: projectSetting add closeMessageOnSwitch and removeAllHttpPending 2020-10-13 01:40:18 +08:00
nebv 5f2a927cd5 perf: optimized page switching effect 2020-10-11 01:13:27 +08:00
陈文彬 2f268ca8f4 fix: fix form,transition,build bug 2020-10-01 00:24:14 +08:00
陈文彬 2f6253cfb6 initial commit 2020-09-28 20:19:10 +08:00