Commit Graph

61 Commits

Author SHA1 Message Date
悠静萝莉
0f7096a167
feat: 将代码迁移至TS严格模式 (#684)
* feat: 将现有代码迁移至TS严格模式 - 禁止隐匿Any的This

* feat: 将代码迁移至TS严格模式 - 启用JS严格模式 和 绑定类型检查

* feat: 移除无用钩子,修改为工具API

* feat: 将代码迁移至TS严格模式 - 启用严格函数类型检查
2024-02-18 11:10:42 +08:00
悠静萝莉
ce97b04d79
feat: 新增侧边栏颜色切换 (#681)
* fix: 修复Header元素偏移的问题

* fix: 修复i18n未引用的问题

* feat: 新增侧边栏颜色模式

* chore: 移除侧边栏模式跟随系统

* feat: 换种展示方式
2024-02-14 22:51:15 +08:00
dufu1991
d775bc3aa9
fix:修改错别字 (#600) 2023-09-06 17:01:15 +08:00
ngyyuusora
8194b3d253
fix(permission store): clear routes when logout (#545)
fix #541
2023-06-20 23:33:11 +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
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
悠静萝莉
d356020414
feat: 新增simple-import-sort插件规范引入 (#464) 2023-04-05 15:40:41 +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
WenKang
35be7584b0
fix: layout/notice/login style bug (#415) 2023-02-09 15:16:45 +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
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
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
yuyang
12a88c6d3b
feat: import type as type (#375) 2022-12-11 17:30:06 +08:00
PDieE
5759c680ac
fix: 修正退出后 userStore.userInfo 存在残留的问题 (#357) 2022-11-17 10:09:25 +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
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
悠静萝莉
fb978b3668
chore: 别名替换 2022-06-23 14:16:36 +08:00
悠静萝莉
b95de96257
chore: 迁移原有文件并修改路径指向 2022-06-22 19:29:19 +08:00
SadWood
960d537e7a
fix issues-179 2022-06-21 14:30:38 +08:00
Kerwin Bryant
db3561aa88
fix issue-166 (#168)
* fix issue-166

* fix issue-166
2022-06-14 18:46:33 +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
Kerwin Bryant
24451f7720
fix: [多标签Tab页] 关闭左侧,关闭其他可能导致主页标签被删除 (#148)
* fix: 主页和路由页独立

主页和路由页独立

fix #147

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

撤回不属于本次提交的更改
2022-05-07 12:50:17 +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
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
8440b7cabe feat: support tabs page 2022-03-24 01:37:51 +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
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
Uyarn
7ff8fff24c fix: copy custom config 2021-12-31 12:16:26 +08:00
PY
39ca99d919
feat/tdvue3/new version (#16)
* feat(version): tdesign-vue-next new version

* feat: upgrade version

* fix: layout fix

* feat(version update): update new version

* chore(vite): revert vite version

* fix(ui): ui edit

* fix(login): login page background image

* feat(version): install new version

* docs(readme): remov useless content

* fix(base url): remove base url
2021-12-24 11:24:14 +08:00
Uyarn
a1fad315e2 chore: optimize color 2021-12-23 01:50:19 +08:00
Uyarn
8ab5ec409f fix: auto mode error 2021-12-23 01:48:32 +08:00
PY
d8c89bff0c
feat/t7 (#12)
* feat: add t7 and code update

* chore(husky): add prepare commit msg

* fix: dashboard getScatterDataSet fix

* ci(pull request): add pull request cache

* fix: dashboard chart render error
2021-12-22 12:07:29 +08:00
pengYYY
93814a994d feat: layout edit 2021-12-17 14:38:13 +08:00
PY
266d032520 fix: echarts resize error (#28)
* fix: echarts resize error

* chore: remove useless code

* feat: update icon

* feat: compress bg img

* docs: readme update
2021-12-13 20:12:32 +08:00
PY
4f77a18b2a chore: globalconfig edit (#25)
* chore: globalconfig edit

* chore: mv stylelint-config-prettier to devdep

* feat: add vscode config

* fix: lint fix

* feat: update base url
2021-12-13 11:44:18 +08:00
PY
baf43fb503 enhance/router (#23)
* style: ui edit。

* feat: ui edit complete

* style: ui edit

* chore: update style import path

* feat: update import path

* chore: lint fix

* feat: add package.lok

* chore: update node version

* chore: update actions

* chore: remove lock file

* fix: node version update

* fix: revert preview actiion

* fix: tdesign-wrapper classname fix

* feat: add router permission

* feat: enhance router

* feat: optimize header icon

Co-authored-by: pengYYY <pengyue970715@gmail.com>
2021-12-12 15:46:02 +08:00
PY
15e8f72117 fix/UI/dark (#22)
* style: ui edit。

* feat: ui edit complete

* style: ui edit

* chore: update style import path

* feat: update import path

* chore: lint fix

* feat: add package.lok

* chore: update node version

* chore: update actions

* chore: remove lock file

* fix: node version update

* fix: revert preview actiion

* fix: tdesign-wrapper classname fix

* chore: complete type pkg

* chore: action complete

* feat: update redirect url

* feat: rename layouts to layout

* chore: revert layout to layouts

Co-authored-by: Uyarn <uyarnchen@gmail.com>
2021-12-12 01:04:13 +08:00
PY
c76ac96178 feat/login/uiedit (#21)
* feat: login ui edit

* feat: login page add dark theme

* feat: login page over

* feat: ui Update

* feat: update start script

Co-authored-by: pengyue970715@gmail.com
2021-12-10 03:05:49 +08:00