Commit Graph

235 Commits

Author SHA1 Message Date
WenKang
11f813351b
fix: dashboard&layout style bug (#403)
* fix: style bug

* fix: style bug
2023-02-01 19:44:33 +08:00
悠静萝莉
5b8ca6ec4b
fix: 修复env环境变量不生效的问题 (#399)
* fix: 修复env环境变量不生效的问题(#398)

* fix: 修复上游更新导致的type问题
2023-01-30 11:09:58 +08:00
yuyang
5b9a418600
feat: add backend dynamic router permission code (#394)
* chore: 大致雏形

* feat: complete permission code

* feat: 修复渲染问题并完善权限代码

* chore: release 0.7.0

* chore: 更新依赖

* chore: fix echarts version

* feat: upgrade dependencies

* chore: mock route map

* chore: hash router

* chore: concat fixed routers

* chore: fix dependencies

* feat: optimize

* chore: remove roles from get menu process

* chore: remain fe permssion code

Co-authored-by: 悠静萝莉 <i@mikuhl.cn>
2023-01-16 18:54:21 +08:00
yuyang
56189daa3b
chore: fix surge deploy (#396)
* chore: fix surge deploy

* chore: fix type
2023-01-12 17:08:22 +08:00
yuyang
61abcdd28e
feat(color): remove built-in theme and get palette from tvision color (#392)
* feat(color): remove built-in theme and get all palette from tvision color

* feat: sync color to charts

* chore: move color utils to utils dir

* fix: dynamic theme color init

* feat: card with default nobordered
2023-01-10 15:41:24 +08:00
PY
02ea472748
fix: remove axios ignoreRepeatRequest config (#389) 2023-01-03 15:54:46 +08:00
yuyang
573efe6cd3
fix: site path and use history router (#382) 2022-12-28 15:12:28 +08:00
yuyang
d64f9503bf
feat: add tdesign components typing tips (#378)
* feat: add tdesign components typing tips

* chore: fix type
2022-12-19 18:16:01 +08:00
小余
05ded03b50
feat: 打开外部页面(内嵌/外链) (#377) 2022-12-16 15:12:02 +08:00
yuyang
6b1e856657
fix: complete form rule type (#376) 2022-12-13 15:46:29 +08:00
yuyang
12a88c6d3b
feat: import type as type (#375) 2022-12-11 17:30:06 +08:00
Wandoupeas
8f7276f7d7
fix(dateRangePicker): 修复DateRangePicker组件内分页样式显示异常 (#373) 2022-12-09 14:08:23 +08:00
PDieE
6cd9fe9134
feat: 优化登录跳转支持回跳带query参数的页面 (#374) 2022-12-09 09:51:08 +08:00
小余
946e7063d3
fix: layout height (#367) 2022-12-04 22:51:30 +08:00
yuyang
b83f188dbe
Feat/upgrade style (#365)
* feat: upgrade vars

* feat: replace vars

* feat: remove variables
2022-11-25 17:47:11 +08:00
Tony
4b72175a98
fix: avoid changing Content-Type to be text/plain (#361)
Avoid changing Content-Type to be  text/plain when retrying request
2022-11-21 06:07:52 +08:00
yuyang
08e519754b
fix: header height (#360)
Co-authored-by: tnt group <dodu@live.cn>

Co-authored-by: tnt group <dodu@live.cn>
2022-11-18 11:30:36 +08:00
PDieE
5759c680ac
fix: 修正退出后 userStore.userInfo 存在残留的问题 (#357) 2022-11-17 10:09:25 +08:00
yuyang
e886a98823
feat: upgrade tdesign-vue-next (#355) 2022-11-16 18:15:06 +08:00
小余
5d3cf75fa1
fix: 导航布局side模式小屏显示问题 (#348) 2022-11-15 10:55:58 +08:00
悠静萝莉
7a8d52060f
fix: 修复事件绑定错误(#344) (#345) 2022-10-21 13:13:24 +08:00
悠静萝莉
ece8a0c690
chore: 将vue-router和vue-tsc升级 (#341) 2022-10-20 11:45:52 +08:00
小余
509c49aace
feat: 将CSS Token设置为全局变量 (#327)
* feat:  @/style/variables设置为全局变量并移除相关引用

* feat: 移除主题定制预留

* fix: less 格式化
2022-10-01 11:28:42 +08:00
悠静萝莉
6f98a7958c
fix: 修复路径重复拼接的问题 (#319) 2022-09-22 13:59:37 +08:00
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