Commit Graph

29 Commits

Author SHA1 Message Date
悠静萝莉
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
悠静萝莉
d356020414
feat: 新增simple-import-sort插件规范引入 (#464) 2023-04-05 15:40:41 +08:00
PDeer
4293d30180
fix: 修正接口请求出错进行重试后成功会两次回调且回调数据不一致而导致无法正确处理的问题 (#458) 2023-03-29 14:29:33 +08:00
liweijie0812
78eed605e4
perf: 接口配置硬编码调整到环境变量 (#445)
* perf: 接口配置硬编码调整到环境变量

* perf: 接口配置硬编码调整到环境变量
2023-03-15 15:34:36 +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
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
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
Kerwin Bryant
7d9e973f43
增加配置判断 (#311)
新增配置项判断,避免出现undefined导致的无效url
2022-09-16 21:04:48 +08:00
PDieE
490ca9570d
fix: 修正formData类型的数据会被错误过滤的问题 (#272) 2022-08-19 16:40:45 +08:00
悠静萝莉
88feed0e8c
feat: 将请求分类至api文件夹 (#221)
* feat: 将请求分类至api文件夹

* chore: 修改接口的导入方式为类型,防止vite打包错误
2022-07-10 14:58:21 +08:00
yuyang
5b056b42e8
fix: demo use normal request (#194) 2022-06-27 13:26:40 +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
悠静萝莉
5edf21b1ed
chore: 添加类型指定并删除冗余代码 2022-06-22 20:18:07 +08:00
悠静萝莉
b95de96257
chore: 迁移原有文件并修改路径指向 2022-06-22 19:29:19 +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
Uyarn
2a6bfa082c refactor: adjust chart code dir 2022-04-28 16:33:33 +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
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
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
PY
86f73de893 fix/githubaction/config (#14)
* fix: githubactions config

* fix: update build env

* fix: remove cache

Co-authored-by: ivringpeng <pengyue970725@gmail.com>
2021-12-06 22:53:37 +08:00
PY
a5b177e8e1 refactor: login page replace form component (#9)
Co-authored-by: pengYYYYY <pengyue970715@gmail.com>
2021-11-27 18:50:07 +08:00
PY
75df4f1672 Feat/updateconfig (#2)
* feat: update eslint config and npmpkg

* feat: update color config

* feat: eslint update

* feat: update ts config

Co-authored-by: yue.peng <yue.peng@ly.com>
Co-authored-by: pengYYYYY <pengyue970715@gmail.com>
2021-11-26 10:45:04 +08:00
pengYYYYY
8c740c14be feat: complate pages 2021-11-17 19:20:07 +08:00
pengYYYYY
d9ff532fdb feat: update list, form, detail 2021-11-16 19:01:03 +08:00
pengYYYYY
36cf70f2c9 fix: reuest.js eslint arrow warning (merge request !7)
Squash merge branch 'fix/eslint/request.js/arrow' into 'develop'
fix: reuest.js eslint arrow warning
2021-09-02 02:13:08 +00:00
pengYYYYY
36c4b55d97 develop (merge request !2)
Squash merge branch 'develop' into 'master'

Co-author: pengYYYYY <pengyue970715@gmail.com>
2021-08-26 03:27:48 +00:00