Commit Graph

211 Commits

Author SHA1 Message Date
PDieE
33fa473761
fix: 修复持久化的问题 (#316)
* fix: 修正首次进入页面时由于userStore数据还未初始化导致的白屏的问题

* Update user.ts

fix: 优化逻辑
2022-09-17 16:40:11 +08:00
悠静萝莉
0e259413ca
fix: 移除user的持久化修复其导致的问题 (#314)
* perf: 增加配置判断 (#311)

新增配置项判断,避免出现undefined导致的无效url

* fix: 移除user的持久化修复其导致的问题

Co-authored-by: Kerwin Bryant <kerwin612@qq.com>
2022-09-17 00:24:20 +08:00
悠静萝莉
e1bc0a0d87
fix: 修复sidenav参数错误 (#315)
* perf: 增加配置判断 (#311)

新增配置项判断,避免出现undefined导致的无效url

* fix: 修复参数错误

Co-authored-by: Kerwin Bryant <kerwin612@qq.com>
2022-09-17 00:23:47 +08:00
Kerwin Bryant
7d9e973f43
增加配置判断 (#311)
新增配置项判断,避免出现undefined导致的无效url
2022-09-16 21:04:48 +08:00
paopao
12e869ddeb
feat: multiple tabs support action (#297)
* feat: multiple tabs support action

* refactor: tap change to tab

* feat(tab-router): handle operation effect

Co-authored-by: Uyarn <uyarnchen@gmail.com>
2022-09-14 12:27:02 +08:00
zengqiu
4a5cdaf51b
fix: 修复浏览器不兼容页中浏览器推荐卡片遮挡页脚信息问题 (#303) 2022-09-13 10:49:30 +08:00
PDieE
d502c2e89c
feat(持久化): 使用插件将store数据持久化(除 permission) (#291)
* feat: 通知支持持久化

* feat: setting支持持久化

* feat: tabs-router支持持久化

* feat: user支持持久化
fix: 修复 user 和 permission 未正确初始化的问题

* feat: 使用持久化插件将store持久化

#278

* feat: rebase

* feat: rebase

* feat: rebase

* Update src/store/modules/setting.ts

Co-authored-by: 悠静萝莉 <i@mikuhl.cn>

* Update src/store/index.ts

Co-authored-by: 悠静萝莉 <i@mikuhl.cn>

* Update src/layouts/setting.vue

Co-authored-by: 悠静萝莉 <i@mikuhl.cn>

Co-authored-by: 悠静萝莉 <i@mikuhl.cn>
2022-09-08 08:52:01 +08:00
zengqiu
3e2fab1e3f
fix(breadcrumb): 修复面包屑导航垂直居中问题 (#298) 2022-09-08 01:12:09 +08:00
zengqiu
2f84447343
fix(footer): 修复底部版权信息垂直居中问题 (#299) 2022-09-08 01:05:20 +08:00
PDieE
4751ef8cb9
fix: 解决当打开多个标签后 退出会报错的问题 (#293)
* fix: 示例增加 suspense 代码解决打开多个标签后退出会报错的问题

* fix: 注释
2022-09-06 13:02:43 +08:00
zengqiu
88e358bfc8
fix(sidenav): 修复侧边栏折叠时版本号前显示 false 问题 (#294) 2022-09-06 11:28:41 +08:00
yuyang
4949f5d8be
fix: miss layout header (#292) 2022-09-05 15:23:29 +08:00
paopao
f614c37842
refactor: 将layout代码转成sfc (#279)
* feat: menuContent.tsx to MenuContent.vue

* feat: sideNav.tsx change to SideNav.vue

* feat: layout index.tsx change to index.vue

* fix: delete RenderFnIcon

* fix: tabRouters reactive and some optimization

* chore: fix typo

* fix: tab-router close fail

Co-authored-by: yuyang <uyarnchen@gmail.com>
2022-09-04 17:17:58 +08:00
yuyang
83cc3d7e90
fix: tab-router refresh fail (#289) 2022-09-03 22:15:00 +08:00
Setli
3bf20b4eea
feat: loginRedirect add redirect (#287)
Co-authored-by: Setli <set_li@163.com>
2022-09-03 18:10:50 +08:00
PDieE
ea9e14507a
fix: 修正如果在使用了 userStore 内的数据的页面进行退出登录操作时会因为相关数据提前清除而报错的问题 (#274)
* fix: 修正如果在使用了 userStore 内的数据的页面进行退出登录操作时会因为相关数据提前清除而报错的问题

* fix: 移除多余的
2022-08-24 16:18:42 +08:00
PDieE
490ca9570d
fix: 修正formData类型的数据会被错误过滤的问题 (#272) 2022-08-19 16:40:45 +08:00
悠静萝莉
71a841929a
chore: 补充类型声明 (#271) 2022-08-13 23:39:02 +08:00
dodu2014
14a345c5d3
feat: tabs-router 支持存储路由的query,保证切换tab时,能保留页面参数 (#269)
* feat: tabs-router 支持存储路由的query,保证切换tab时,能保留页面参数

* fix: 设置 TRouterInfo.query 可空 可为null
2022-08-12 18:47:52 +08:00
yuyang
0c6ae6a286
fix: login reload crush (#268) 2022-08-11 15:49:23 +08:00
yuyang
dffcde1b99
fix: revert vue-router upgrade (#266) 2022-08-11 10:56:39 +08:00
悠静萝莉
df57f5c60b
fix: 修复更新vue-router版本后的遗留问题 (#261) 2022-08-09 11:06:27 +08:00
悠静萝莉
7997d669a8
feat: 升级vue-router版本 (#257)
* feat: 升级vue-router版本

* feat: 升级至 0.4.0
2022-08-08 19:06:24 +08:00
PDieE
6d74895243
fix: 填补登录页面缺失的手机号输入框及相关逻辑 (#255)
* feat: 填补登录页面缺失的手机号输入框及相关逻辑

* chore: remove console

* chore: fix lint

Co-authored-by: yuyang <uyarnchen@gmail.com>
2022-08-05 16:08:11 +08:00
悠静萝莉
75d3e00d7e
fix: 修复侧边栏开合时图表没有刷新 (#253) 2022-08-05 16:03:39 +08:00
悠静萝莉
11f0a1259d
fix: 修复改变颜色/模式 出现页面卡死等异常的问题 (#254) 2022-08-04 23:56:09 +08:00
悠静萝莉
05d49fd2cf
feat: 添加组件key (#251) 2022-08-03 00:10:08 +08:00
悠静萝莉
86eb38220d
feat: 添加expanded属性,令菜单可以默认打开 (#245) 2022-08-02 18:03:12 +08:00
yuyang
ddafdc4c88
chore: rename component file name (#243)
* chore: rename component file name

* chore: upgrade dep

* chore: fix setup no unuse vars

* chore: typo

* fix: extra margin for a tag
2022-07-27 15:35:57 +08:00
Wandoupeas
d7aa05f5c0
fix(style): 部分选择器未随自定义样式前缀更改 (#229) 2022-07-15 14:14:12 +08:00
Wandoupeas
587fb161c7
fix(constants): RECEIPT拼写错误 (#230) 2022-07-15 13:56:34 +08:00
PY
267546321f
feat: upgrade 0.17.4 (#225) 2022-07-12 14:16:08 +08:00
悠静萝莉
4067e7ca30
feat: router修改为自动导入 (#223)
* feat: router修改为自动导入

* fix: 修复CI编译错误并移除多余声明

* feat: 添加orderNo令自动导入的路由可以排序
2022-07-12 14:14:44 +08:00
悠静萝莉
3afb38d1d1
fix(echart): 修复图表的warn问题 (#218)
* fix(echart): 修复图表的warn问题

* fix(echart): 修复遗漏的图表warn问题
2022-07-10 14:59:17 +08:00
悠静萝莉
88feed0e8c
feat: 将请求分类至api文件夹 (#221)
* feat: 将请求分类至api文件夹

* chore: 修改接口的导入方式为类型,防止vite打包错误
2022-07-10 14:58:21 +08:00
悠静萝莉
6abf4ccbb3
feat: 添加hiddenBreadcrumb选项 (#224) 2022-07-10 14:53:22 +08:00
yuyang
565971d3c6
fix: table affix top demo (#215) 2022-07-06 18:35:32 +08:00
PY
531cb48fc1
feat: upgrade 0.17.3 (#209) 2022-07-04 19:43:37 +08:00
悠静萝莉
e78d4b6ee1
fix: 修复获取路由参数报错的问题 (#203) 2022-07-03 14:57:59 +08:00
yuyang
b8997d206c
feat: replace duplicated token (#202)
* feat: replace duplicate token

* feat: optimize layout scroll bar style
2022-06-30 19:08:21 +08:00
Wei Sheng
1fa7740e92
feat(sidenav): add default expanded (#200) 2022-06-30 10:55:16 +08:00
Tower He
af235ed036
fix: remove height and width settings of .setting-layout-color-group (#199) 2022-06-30 10:39:50 +08:00
悠静萝莉
78133dedf3
fix: 修复reset和A标签样式缺失导致的问题 (#195)
* fix: 修复reset样式缺失导致的问题

* fix: 修复A标签样式缺失的问题
2022-06-28 18:39:21 +08:00
yuyang
5b056b42e8
fix: demo use normal request (#194) 2022-06-27 13:26:40 +08:00
yuyang
1d3dcb8546
fix: setting radio height (#193) 2022-06-27 12:37:42 +08:00
悠静萝莉
704c162e36
feat: 请求部分代码改造 (#185)
* feat: 重新封装axios

* chore: 将请求封装规范为request

* fix: 修正引用方式

* perf: 使用lodash替换部分函数

* feat: axios新增支持过滤重复请求

* feat: axios新增切换地址直连或Vite反向代理

* chore: 将lodash-es切换至lodash并将引入方式改为路径引入
2022-06-24 16:57:15 +08:00
悠静萝莉
fb978b3668
chore: 别名替换 2022-06-23 14:16:36 +08:00
悠静萝莉
9c15ec8ae0
chore: 迁移types文件夹并移除别名 2022-06-23 14:07:35 +08:00
悠静萝莉
5edf21b1ed
chore: 添加类型指定并删除冗余代码 2022-06-22 20:18:07 +08:00
悠静萝莉
b95de96257
chore: 迁移原有文件并修改路径指向 2022-06-22 19:29:19 +08:00
悠静萝莉
8eed2601db
chore: 添加TS官方推荐ESLint规则/修改部分规则 2022-06-22 19:14:28 +08:00
SadWood
960d537e7a
fix issues-179 2022-06-21 14:30:38 +08:00
yuyang
fa1e54a12f
Merge pull request #174 from Tencent/feat/upgrade/0.16.0
feat: upgrade 0.16.0
2022-06-17 16:44:20 +08:00
Kerwin Bryant
893ffd474c
fixed issue 172 (#173) 2022-06-17 16:44:05 +08:00
pengYYY
0cc022c702 feat: update style 2022-06-17 16:39:29 +08:00
pengYYY
d5dc6912e4 feat: upgrade 0.16.0 2022-06-17 16:16:33 +08:00
Kerwin Bryant
db3561aa88
fix issue-166 (#168)
* fix issue-166

* fix issue-166
2022-06-14 18:46:33 +08:00
pengYYY
5ed7b4ead5 feat: remove nestMenu 2022-06-13 15:13:50 +08:00
yuyang
aec3611f51
chore: fix incorrect content (#167) 2022-06-10 10:51:50 +08:00
yuyang
2f8dd15c85
chore: add 3rd layer menu demo (#165)
* chore: add 3rd layer menu demo

* chore: fix typescript version
2022-06-08 17:05:39 +08:00
Kerwin Bryant
2c3ba03df5
refactor: 全面基于CSS Token改造 (#157)
* 去除冗余的less vars

* 替换less vars为css vars

* 统一css vars前缀
2022-05-31 19:03:52 +08:00
Kerwin Bryant
474cd2b6ab
修复页面滚动条不重置的问题 (#158) 2022-05-27 14:04:48 +08:00
yuyang
f7e50cd10a
fix: tab route close logic (#156) 2022-05-23 18:16:02 +08:00
yuyang
3a2d29df6c
feat: ignore cache demo (#155)
* fix: tab routes cache fails

* feat: add ignore cache routes demo
2022-05-23 17:47:41 +08:00
PY
b7f80c31cc
feat: upgrade to 0.15.1 (#154)
* feat: upgrade to 0.15.1

* chore: fix form style

Co-authored-by: Uyarn <uyarnchen@gmail.com>
2022-05-23 16:48:06 +08:00
Kerwin Bryant
3244c18a8d
fix: 多个滚动列表之间切换时,页面不刷新导致的样式BUG (#152)
修复 #151
2022-05-12 15:51:41 +08:00
Kerwin Bryant
24451f7720
fix: [多标签Tab页] 关闭左侧,关闭其他可能导致主页标签被删除 (#148)
* fix: 主页和路由页独立

主页和路由页独立

fix #147

* refactor: 撤回不属于本次提交的更改

撤回不属于本次提交的更改
2022-05-07 12:50:17 +08:00
yuyang
6b8e727501
chore: add maintanance page (#146) 2022-05-05 20:22:26 +08:00
Kerwin Bryant
0fc86fcd76
frat: add lint for scoped-css (#138) 2022-04-30 23:16:41 +08:00
Uyarn
3cd18f18f7 feat: calc top for table affix 2022-04-28 16:33:33 +08:00
Uyarn
915a6bd118 refactor(card): replace all card with t-card 2022-04-28 16:33:33 +08:00
Uyarn
991f0588e2 chore: adjust form height 2022-04-28 16:33:33 +08:00
Uyarn
2a6bfa082c refactor: adjust chart code dir 2022-04-28 16:33:33 +08:00
Kerwin Bryant
09c6b17b7e
优化菜单选中判断逻辑 (#132) 2022-04-28 11:14:13 +08:00
Kerwin Bryant
33bdd29561
修复issue#126 (#131)
* 修复issue#126

修复issue#126中的顶部菜单栏未选中的样式问题

* Update Header.vue

* Update Header.vue
2022-04-26 10:55:04 +08:00
Kerwin Bryant
5711c71e3a
修复不合理的样式 (#129)
* 修复不合理的样式

修复layout为top时头部菜单的不合理样式

* Update Header.vue
2022-04-25 14:21:36 +08:00
Kerwin Bryant
fef38d27c0
修复issue#126 (#130)
修复issue#126中的搜索框样式异常
2022-04-25 11:46:18 +08:00
Uyarn
5f4e8a9e7a fix: typo 2022-04-11 19:14:00 +08:00
Uyarn
733ca6ac22 feat(color): remove extra dependencies 2022-04-11 19:05:22 +08:00
PY
d1953a6ab9
Merge pull request #112 from Tencent/fix/chart-font-color
fix: 修复图表文字颜色异常
2022-04-06 18:53:56 +08:00
PY
f14ee702cb
Merge pull request #113 from Tencent/chore/dependencies-upgrade
chore: upgrade dependencies map
2022-04-06 18:52:06 +08:00
Uyarn
21c67e5fe2 chore: upgrade dependencies map 2022-04-06 17:36:12 +08:00
Uyarn
063ae54e9b fix: chart font color 2022-04-06 17:23:00 +08:00
Uyarn
9256aecc51 feat: optimize tab router 2022-04-06 17:05:00 +08:00
lscho
69de48ea4c
update mock roles 2022-03-26 14:49:50 +08:00
Uyarn
b6ff64440c fix(tabs): only render dropdown for current route 2022-03-25 01:05:01 +08:00
Uyarn
f73de01e58 chore: fix type error 2022-03-24 11:42:48 +08:00
Uyarn
8440b7cabe feat: support tabs page 2022-03-24 01:37:51 +08:00
ivringpeng
b7671700ef feat: update input 2022-03-18 17:40:57 +08:00
ivringpeng
f290f07c4c feat(version): update tdesign version 2022-03-18 17:36:19 +08:00
PY
1b983a3203
Merge pull request #87 from Tencent/feat/support-href-link
feat: 路由支持配置跳转外链
2022-03-08 22:38:45 +08:00
Uyarn
1eaf7e563d feat: support href router 2022-03-08 22:19:57 +08:00
pengYYY
2c53068ec7 chore(permission store): remove deadcode 2022-03-07 17:50:14 +08:00
pengYYY
732eb1b289 chore(permisssion): optimize logout 2022-03-07 17:45:38 +08:00
pengYYY
ae3e021587 feat(router): optimize login jump time 2022-03-07 00:08:57 +08:00
pengYYY
1ac4690a79 fix(commontable): fix commontable 2022-03-03 20:27:20 +08:00
pengYYY
57759f9a33 fix(setting): fix setting page 2022-03-03 15:12:11 +08:00
Uyarn
bf8d8f4e6f chore: complete type of color 2022-03-01 17:16:09 +08:00
pengYYY
dd246e40b7 refactor(pinia): use pinia refactor store 2022-02-28 18:28:14 +08:00
PY
47d0edd888
fix(sidenav): fix sideNav z-index (#71) 2022-02-23 14:57:58 +08:00