Commit Graph

267 Commits

Author SHA1 Message Date
鲨鱼辣椒
78595657c6
fix: 修复频繁切换路由时表单头滞留的问题 (#550)
Co-authored-by: 🌩 <hehong_tan@xmemtech.com>
2023-07-06 12:00:37 +08:00
ngyyuusora
8194b3d253
fix(permission store): clear routes when logout (#545)
fix #541
2023-06-20 23:33:11 +08:00
ngyyuusora
9d8bf86059
feat(axios util): support params stringify (#544) 2023-06-19 19:38:44 +08:00
liweijie0812
83939b7517
fix: 204无内容直接返回判断 (#539) 2023-06-02 16:03:02 +08:00
liweijie0812
4555545562
feat: upgrade vite4 (#533)
* chore: 升级vite4

* docs: 项目简介 修改

* fix: 打包后预览提示TypeError

* chore: @vitejs/plugin-vue,@vitejs/plugin-vue-jsx升级

* docs: 项目简介 修改
2023-06-01 14:12:23 +08:00
liweijie0812
ce297cb2f4
fix: 修复store存储token读取不到的问题 (#526) 2023-05-30 03:09:31 +08:00
ngyyuusora
89ccf19f58
fix: 修复多标签页保活问题 (#523) 2023-05-26 13:45:08 +08:00
悠静萝莉
f9f9e91438
feat: 将现有代码迁移至TS严格模式 - 禁止any类型 (#519)
* feat: 新增type enum类型

* feat: 开启禁止any类型规则

* types: 优化通知标签类型

* types: 补充标签页移除方法类型

* types: 补充请求工具类型

* types: 补充store相关类型

* types: 补充路由相关类型

* types: 补充钩子类型

* types: 补充页面组件类型

* types: 补充布局类型

* fix: 修复编译问题
2023-05-24 10:40:06 +08:00
Gui.H
665e0dacec
fix: 修复 store 中并未对 localStorage 的 TOKEN_NAME 键进行赋值的缺陷 (#504)
* fix: 接口请求不携带token

* fix: 优化token持久化策略

* fix: 删除多余的log
2023-05-18 11:29:01 +08:00
You
03adc83ba2
fix: 修复无法将通知设为未读 (#511) 2023-05-16 22:00:36 +08:00
liweijie0812
c89f434ce8
perf: 路由守卫获取菜单异常,跳转登录页并弹窗提示 (#502) 2023-05-11 22:10:32 +08:00
Gui.H
2794bdcb5c
优化展示用户名,而不是固定为Tencent (#485)
* Update user.ts

* Update Header.vue

* Update user.ts

* Update user.ts
2023-05-08 22:16:19 +08:00
liweijie0812
0d70db425d
chore: 先验证token,再获取菜单 (#487) 2023-05-08 22:15:59 +08:00
WenKang
a0c67b05d9
fix: update token (#476)
Co-authored-by: kadenzhong <kadenzhong@tencent.com>
2023-04-19 16:24:45 +08:00
yuyang
cd2939cd4f
chore: card detail style (#475) 2023-04-18 16:20:51 +08:00
yuyang
2123e86991
feat: support keep-alive meta config (#470)
* feat: support keepalive meta config

* chore: remove console
2023-04-13 15:33:03 +08:00
悠静萝莉
d356020414
feat: 新增simple-import-sort插件规范引入 (#464) 2023-04-05 15:40:41 +08:00
liweijie0812
ba9a918d99
fix: 修复多级菜单高亮问题 (#459) 2023-03-29 14:35:47 +08:00
PDeer
4293d30180
fix: 修正接口请求出错进行重试后成功会两次回调且回调数据不一致而导致无法正确处理的问题 (#458) 2023-03-29 14:29:33 +08:00
悠静萝莉
c21994f5fa
feat: 标签页可配置禁止拖拽 (#454)
* feat: dump Tdesign version

* feat: 标签页可配置禁止拖拽(#430)
2023-03-28 10:27:55 +08:00
liweijie0812
2d1c222e6b
fix: 菜单高亮 (#450) 2023-03-16 20:02:41 +08:00
liweijie0812
78eed605e4
perf: 接口配置硬编码调整到环境变量 (#445)
* perf: 接口配置硬编码调整到环境变量

* perf: 接口配置硬编码调整到环境变量
2023-03-15 15:34:36 +08:00
Henry
715e882451
fix: globEager deprecated (#439)
* fix: globEager deprecated

* Update .vscode/settings.json

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

---------

Co-authored-by: 悠静萝莉 <i@mikuhl.cn>
2023-03-07 11:21:04 +08:00
hzgotb
44cca54cda
perf: improves modify theme color logic (#428) 2023-02-24 01:07:50 +08:00
liweijie0812
cfddfa03bc
feat: 多标签Tab页支持拖拽排序 (#426)
* feat: 多标签页Tab页支持拖拽排序

* fix: 和HomePage换序 不做处理

* fix: 右键关闭逻辑调整

* chore: 补充类型声明
2023-02-21 11:36:05 +08:00
yuyang
24d913df16
fix: setting default style (#425) 2023-02-19 00:54:39 +08:00
liweijie0812
81e21444fb
fix: 拼音输入的问题 (#421) 2023-02-17 15:23:48 +08:00
yuyang
2edd32dcdc
chore: fix typo 2023-02-14 10:54:34 +08:00
WenKang
35be7584b0
fix: layout/notice/login style bug (#415) 2023-02-09 15:16:45 +08:00
悠静萝莉
0316386a45
perf: 优化菜单生成 (#413) 2023-02-09 13:09:47 +08:00
WenKang
e70bac6dfc
fix: style bug (#408)
* fix: style bug

* fix: style bug

* fix: list style bug

* fix: form page style bug

* fix: detail style bug

* fix: result style bug

* fix: user style bug
2023-02-08 11:26:32 +08:00
悠静萝莉
77b692742b
fix: 修复菜单图标使用svg的问题 (#402) 2023-02-07 11:08:23 +08:00
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