Skip to content

Commit e203142

Browse files
committed
Merge remote-tracking branch 'upstream/develop' into refactor/eslint
2 parents e842288 + d53934b commit e203142

32 files changed

Lines changed: 144 additions & 165 deletions

File tree

CHANGELOG.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,23 @@ toc: false
55
docClass: timeline
66
---
77

8-
## 🌈 0.12.0 `2025-01-06`
9-
### 🐞 Bug Fixes
10-
- `Vue`: 修复升级至 Vue 3.4 及 3.5 的生产模式下的问题 @uyarn ([#796](https://github.com/Tencent/tdesign-vue-next-starter/pull/796))
11-
### 📈 Performance
8+
## 🌈 0.12.0 `2025-01-06`
9+
### 🐞 Bug Fixes
10+
- `Vue`: 修复升级至 Vue 3.4 及 3.5 的生产模式下的问题 @uyarn ([#796](https://github.com/Tencent/tdesign-vue-next-starter/pull/796))
11+
### 📈 Performance
1212
- defineProps改为Vue3.5解构语法 @liect ([#799](https://github.com/Tencent/tdesign-vue-next-starter/pull/799))
1313

14-
## 🌈 0.11.0 `2024-11-06`
15-
### 🚀 Features
16-
- `feat`: 调整默认lock文件配置 @timi137137 ([#717](https://github.com/Tencent/tdesign-vue-next-starter/pull/717))
17-
- `Router`: 路由跳转携带参数 @SuxueCode ([#720](https://github.com/Tencent/tdesign-vue-next-starter/pull/720))
18-
- `feat`: 新增菜单自动折叠 @RSS1102 ([#744](https://github.com/Tencent/tdesign-vue-next-starter/pull/744))
19-
### 🐞 Bug Fixes
20-
- `breadcrumb`: 修复多层级路由指向错误 @lz6060788 ([#749](https://github.com/Tencent/tdesign-vue-next-starter/pull/749))
21-
- `deps`: 修正因锁文件错误导致的编译失败 @timi137137 ([#777](https://github.com/Tencent/tdesign-vue-next-starter/pull/777))
22-
### 🚧 Others
23-
- `revert`: 回退Vue 3.3 @timi137137 ([#709](https://github.com/Tencent/tdesign-vue-next-starter/pull/709))
24-
- build(deps-dev): bump @types/lodash from 4.14.202 to 4.17.6 @dependabot[bot] ([#732](https://github.com/Tencent/tdesign-vue-next-starter/pull/732))
14+
## 🌈 0.11.0 `2024-11-06`
15+
### 🚀 Features
16+
- `feat`: 调整默认lock文件配置 @timi137137 ([#717](https://github.com/Tencent/tdesign-vue-next-starter/pull/717))
17+
- `Router`: 路由跳转携带参数 @SuxueCode ([#720](https://github.com/Tencent/tdesign-vue-next-starter/pull/720))
18+
- `feat`: 新增菜单自动折叠 @RSS1102 ([#744](https://github.com/Tencent/tdesign-vue-next-starter/pull/744))
19+
### 🐞 Bug Fixes
20+
- `breadcrumb`: 修复多层级路由指向错误 @lz6060788 ([#749](https://github.com/Tencent/tdesign-vue-next-starter/pull/749))
21+
- `deps`: 修正因锁文件错误导致的编译失败 @timi137137 ([#777](https://github.com/Tencent/tdesign-vue-next-starter/pull/777))
22+
### 🚧 Others
23+
- `revert`: 回退Vue 3.3 @timi137137 ([#709](https://github.com/Tencent/tdesign-vue-next-starter/pull/709))
24+
- build(deps-dev): bump @types/lodash from 4.14.202 to 4.17.6 @dependabot[bot] ([#732](https://github.com/Tencent/tdesign-vue-next-starter/pull/732))
2525
- build(deps): bump tdesign-vue-next from 1.9.3 to 1.9.9 @dependabot[bot] ([#748](https://github.com/Tencent/tdesign-vue-next-starter/pull/748))
2626

2727
## 🌈 0.10.0 `2024-04-02`
@@ -141,7 +141,7 @@ docClass: timeline
141141
- 升级相关依赖 `vite`需升级至`3.0`以上,支持图标后端配置等场景需求 by @timi137137 @uyarn (https://github.com/Tencent/tdesign-vue-next-starter/pull/394)
142142

143143
### 🐞 Bug Fixes
144-
- 修复自定义颜色切换明亮暗黑模式时无法沿用的缺陷 by @uyarn (https://github.com/Tencent/tdesign-vue-next-starter/pull/392)
144+
- 修复自定义颜色切换明亮深色模式时无法沿用的缺陷 by @uyarn (https://github.com/Tencent/tdesign-vue-next-starter/pull/392)
145145

146146
`Tips: 此次发布 较 0.6.x 版本 删除了此前大量内置项目的色彩生成逻辑,权限控制相关逻辑也发生巨大变动 若打开预览无法访问请清除 localStorage 等缓存再尝试 跟进升级请慎重`
147147

@@ -276,7 +276,7 @@ docClass: timeline
276276
- 模板中使用颜色变量全部改造为CSS Token by @kerwin612 ([#157](https://github.com/Tencent/tdesign-vue-next-starter/pull/157))
277277

278278
### 🐞 Bug Fixes
279-
- 升级组件库至0.15.4,修复菜单字重及顶部菜单箭头翻转方向、暗黑模式的颜色问题 by @uyarn @leejim ([#159](https://github.com/Tencent/tdesign-vue-next-starter/pull/159)) [tdesign-vue-next#916](https://github.com/Tencent/tdesign-vue-next/pull/916)
279+
- 升级组件库至0.15.4,修复菜单字重及顶部菜单箭头翻转方向、深色模式的颜色问题 by @uyarn @leejim ([#159](https://github.com/Tencent/tdesign-vue-next-starter/pull/159)) [tdesign-vue-next#916](https://github.com/Tencent/tdesign-vue-next/pull/916)
280280

281281
## 🌈 0.3.2 `2022-05-27`
282282
### 🚀 Features

README-zh_CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ TDesign Vue Next Starter 是一个基于 TDesign,使用 `Vue3`、`Vite`、`Pin
3535
- 内置多种常用的中后台页面
3636
- 完善的目录结构
3737
- 完善的代码规范配置
38-
- 支持暗黑模式
38+
- 支持深色模式
3939
- 自定义主题颜色
4040
- 多种空间布局
4141
- 内置 Mock 数据方案

package-lock.json

Lines changed: 12 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
},
2323
"dependencies": {
2424
"@vueuse/core": "^12.3.0",
25-
"axios": "^1.8.3",
25+
"axios": "^1.8.4",
2626
"dayjs": "^1.11.13",
2727
"echarts": "5.4.3",
2828
"lodash": "^4.17.21",
@@ -32,7 +32,7 @@
3232
"qrcode.vue": "^3.4.1",
3333
"qs": "^6.13.1",
3434
"tdesign-icons-vue-next": "^0.3.4",
35-
"tdesign-vue-next": "^1.11.4",
35+
"tdesign-vue-next": "^1.11.5",
3636
"tvision-color": "^1.6.0",
3737
"vue": "^3.5.13",
3838
"vue-i18n": "^9.9.1",

src/layouts/components/Breadcrumb.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,9 @@ import { useLocale } from '@/locales/useLocale';
1313
import type { RouteMeta } from '@/types/interface';
1414
1515
const { locale } = useLocale();
16+
const route = useRoute();
1617
1718
const crumbs = computed(() => {
18-
const route = useRoute();
19-
2019
const pathArray = route.path.split('/');
2120
pathArray.shift();
2221

src/locales/lang/zh_CN/layout.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export default {
2828
color: '主题色',
2929
options: {
3030
light: '明亮',
31-
dark: '暗黑',
31+
dark: '深色',
3232
auto: '跟随系统',
3333
},
3434
},

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* eslint-disable simple-import-sort/imports */
2-
import TDesign from 'tdesign-vue-next';
32
import { createApp } from 'vue';
3+
import TDesign from 'tdesign-vue-next';
44

55
import App from './App.vue';
66
import router from './router';

src/pages/dashboard/base/components/OutputOverview.vue

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,6 @@
6262
</t-row>
6363
</t-card>
6464
</template>
65-
<script lang="ts">
66-
export default {
67-
name: 'DashboardBase',
68-
};
69-
</script>
7065
<script setup lang="ts">
7166
import { useWindowSize } from '@vueuse/core';
7267
import { LineChart } from 'echarts/charts';
@@ -84,6 +79,10 @@ import { LAST_7_DAYS } from '@/utils/date';
8479
8580
import { constructInitDataset } from '../index';
8681
82+
defineOptions({
83+
name: 'DashboardBase',
84+
});
85+
8786
echarts.use([TooltipComponent, LegendComponent, GridComponent, LineChart, CanvasRenderer]);
8887
8988
const store = useSettingStore();

src/pages/dashboard/base/components/TopPanel.vue

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,6 @@
4848
</t-col>
4949
</t-row>
5050
</template>
51-
<script lang="ts">
52-
export default {
53-
name: 'DashboardBase',
54-
};
55-
</script>
5651
<script setup lang="ts">
5752
import { useWindowSize } from '@vueuse/core';
5853
import { BarChart, LineChart } from 'echarts/charts';
@@ -69,6 +64,10 @@ import { changeChartsTheme } from '@/utils/color';
6964
7065
import { constructInitDashboardDataset } from '../index';
7166
67+
defineOptions({
68+
name: 'DashboardBase',
69+
});
70+
7271
echarts.use([LineChart, BarChart, CanvasRenderer]);
7372
7473
const store = useSettingStore();

src/pages/dashboard/base/index.vue

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,15 @@
1010
<output-overview class="row-container" />
1111
</div>
1212
</template>
13-
<script lang="ts">
14-
export default {
15-
name: 'DashboardBase',
16-
};
17-
</script>
1813
<script setup lang="ts">
1914
import MiddleChart from './components/MiddleChart.vue';
2015
import OutputOverview from './components/OutputOverview.vue';
2116
import RankList from './components/RankList.vue';
2217
import TopPanel from './components/TopPanel.vue';
18+
19+
defineOptions({
20+
name: 'DashboardBase',
21+
});
2322
</script>
2423
<style scoped>
2524
.row-container:not(:last-child) {

0 commit comments

Comments
 (0)