mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-06-09 01:47:20 +08:00
Merge branch 'main' of github.com:pure-admin/vue-pure-admin into gitee
This commit is contained in:
commit
88f7aefa16
@ -1,3 +1,17 @@
|
|||||||
|
# 4.2.0 (2023-05-15)
|
||||||
|
|
||||||
|
### 🎫 Feat
|
||||||
|
|
||||||
|
- Added segment controller component and adapted to dark mode
|
||||||
|
- Static routing supports configuration array format
|
||||||
|
- Functional bullet box component adds full screen and exit full screen operation buttons
|
||||||
|
- New component - Waterfall `demo`
|
||||||
|
- Add `Exclusive` type mutual exclusion syntactic sugar
|
||||||
|
|
||||||
|
### 🍏 Perf
|
||||||
|
|
||||||
|
- Standardize the way of writing routes in `template` template, no longer use `$route` and `$router`, this way of writing `vue-tsc` fails to compile
|
||||||
|
|
||||||
# 4.1.0 (2023-05-12)
|
# 4.1.0 (2023-05-12)
|
||||||
|
|
||||||
### 🎫 Feat
|
### 🎫 Feat
|
||||||
|
14
CHANGELOG.md
14
CHANGELOG.md
@ -1,3 +1,17 @@
|
|||||||
|
# 4.2.0 (2023-05-15)
|
||||||
|
|
||||||
|
### 🎫 Feat
|
||||||
|
|
||||||
|
- Added segment controller component and adapted to dark mode
|
||||||
|
- Static routing supports configuration array format
|
||||||
|
- Functional bullet box component adds full screen and exit full screen operation buttons
|
||||||
|
- New component - Waterfall `demo`
|
||||||
|
- Add `Exclusive` type mutual exclusion syntactic sugar
|
||||||
|
|
||||||
|
### 🍏 Perf
|
||||||
|
|
||||||
|
- Standardize the way of writing routes in `template` template, no longer use `$route` and `$router`, this way of writing `vue-tsc` fails to compile
|
||||||
|
|
||||||
# 4.1.0 (2023-05-12)
|
# 4.1.0 (2023-05-12)
|
||||||
|
|
||||||
### 🎫 Feat
|
### 🎫 Feat
|
||||||
|
@ -1,3 +1,17 @@
|
|||||||
|
# 4.2.0 (2023-05-15)
|
||||||
|
|
||||||
|
### 🎫 Feat
|
||||||
|
|
||||||
|
- 新增分段控制器组件并适配暗黑模式
|
||||||
|
- 静态路由支持配置数组格式
|
||||||
|
- 函数式弹框组件添加全屏、退出全屏操作按钮
|
||||||
|
- 新增组件-瀑布流 `demo`
|
||||||
|
- 添加 `Exclusive` 类型互斥语法糖
|
||||||
|
|
||||||
|
### 🍏 Perf
|
||||||
|
|
||||||
|
- 规范 `template` 模版中路由写法,不再使用 `$route` 和 `$router`,此写法 `vue-tsc` 编译不通过
|
||||||
|
|
||||||
# 4.1.0 (2023-05-12)
|
# 4.1.0 (2023-05-12)
|
||||||
|
|
||||||
### 🎫 Feat
|
### 🎫 Feat
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "vue-pure-admin",
|
"name": "vue-pure-admin",
|
||||||
"version": "4.1.0",
|
"version": "4.2.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "NODE_OPTIONS=--max-old-space-size=4096 vite",
|
"dev": "NODE_OPTIONS=--max-old-space-size=4096 vite",
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"Version": "4.1.0",
|
"Version": "4.2.0",
|
||||||
"Title": "PureAdmin",
|
"Title": "PureAdmin",
|
||||||
"FixedHeader": true,
|
"FixedHeader": true,
|
||||||
"HiddenSideBar": false,
|
"HiddenSideBar": false,
|
||||||
|
BIN
src/assets/user.jpg
Normal file
BIN
src/assets/user.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.6 KiB |
@ -18,6 +18,7 @@ const {
|
|||||||
onPanel,
|
onPanel,
|
||||||
pureApp,
|
pureApp,
|
||||||
username,
|
username,
|
||||||
|
userAvatar,
|
||||||
avatarsStyle,
|
avatarsStyle,
|
||||||
toggleSideBar,
|
toggleSideBar,
|
||||||
getDropdownItemStyle,
|
getDropdownItemStyle,
|
||||||
@ -85,10 +86,7 @@ const { t, locale, translationCh, translationEn } = useTranslationLang();
|
|||||||
<!-- 退出登录 -->
|
<!-- 退出登录 -->
|
||||||
<el-dropdown trigger="click">
|
<el-dropdown trigger="click">
|
||||||
<span class="el-dropdown-link navbar-bg-hover select-none">
|
<span class="el-dropdown-link navbar-bg-hover select-none">
|
||||||
<img
|
<img :src="userAvatar" :style="avatarsStyle" />
|
||||||
src="https://avatars.githubusercontent.com/u/44761321?v=4"
|
|
||||||
:style="avatarsStyle"
|
|
||||||
/>
|
|
||||||
<p v-if="username" class="dark:text-white">{{ username }}</p>
|
<p v-if="username" class="dark:text-white">{{ username }}</p>
|
||||||
</span>
|
</span>
|
||||||
<template #dropdown>
|
<template #dropdown>
|
||||||
|
@ -23,6 +23,7 @@ const {
|
|||||||
onPanel,
|
onPanel,
|
||||||
menuSelect,
|
menuSelect,
|
||||||
username,
|
username,
|
||||||
|
userAvatar,
|
||||||
avatarsStyle,
|
avatarsStyle,
|
||||||
getDropdownItemStyle,
|
getDropdownItemStyle,
|
||||||
getDropdownItemClass
|
getDropdownItemClass
|
||||||
@ -102,10 +103,7 @@ watch(
|
|||||||
<!-- 退出登录 -->
|
<!-- 退出登录 -->
|
||||||
<el-dropdown trigger="click">
|
<el-dropdown trigger="click">
|
||||||
<span class="el-dropdown-link navbar-bg-hover">
|
<span class="el-dropdown-link navbar-bg-hover">
|
||||||
<img
|
<img :src="userAvatar" :style="avatarsStyle" />
|
||||||
src="https://avatars.githubusercontent.com/u/44761321?v=4"
|
|
||||||
:style="avatarsStyle"
|
|
||||||
/>
|
|
||||||
<p v-if="username" class="dark:text-white">{{ username }}</p>
|
<p v-if="username" class="dark:text-white">{{ username }}</p>
|
||||||
</span>
|
</span>
|
||||||
<template #dropdown>
|
<template #dropdown>
|
||||||
|
@ -27,6 +27,7 @@ const {
|
|||||||
menuSelect,
|
menuSelect,
|
||||||
resolvePath,
|
resolvePath,
|
||||||
username,
|
username,
|
||||||
|
userAvatar,
|
||||||
getDivStyle,
|
getDivStyle,
|
||||||
avatarsStyle,
|
avatarsStyle,
|
||||||
getDropdownItemStyle,
|
getDropdownItemStyle,
|
||||||
@ -134,10 +135,7 @@ watch(
|
|||||||
<!-- 退出登录 -->
|
<!-- 退出登录 -->
|
||||||
<el-dropdown trigger="click">
|
<el-dropdown trigger="click">
|
||||||
<span class="el-dropdown-link navbar-bg-hover select-none">
|
<span class="el-dropdown-link navbar-bg-hover select-none">
|
||||||
<img
|
<img :src="userAvatar" :style="avatarsStyle" />
|
||||||
src="https://avatars.githubusercontent.com/u/44761321?v=4"
|
|
||||||
:style="avatarsStyle"
|
|
||||||
/>
|
|
||||||
<p v-if="username" class="dark:text-white">{{ username }}</p>
|
<p v-if="username" class="dark:text-white">{{ username }}</p>
|
||||||
</span>
|
</span>
|
||||||
<template #dropdown>
|
<template #dropdown>
|
||||||
|
@ -3,6 +3,7 @@ import { getConfig } from "@/config";
|
|||||||
import { useRouter } from "vue-router";
|
import { useRouter } from "vue-router";
|
||||||
import { emitter } from "@/utils/mitt";
|
import { emitter } from "@/utils/mitt";
|
||||||
import { routeMetaType } from "../types";
|
import { routeMetaType } from "../types";
|
||||||
|
import userAvatar from "@/assets/user.jpg";
|
||||||
import { getTopMenu } from "@/router/utils";
|
import { getTopMenu } from "@/router/utils";
|
||||||
import { useGlobal } from "@pureadmin/utils";
|
import { useGlobal } from "@pureadmin/utils";
|
||||||
import { transformI18n } from "@/plugins/i18n";
|
import { transformI18n } from "@/plugins/i18n";
|
||||||
@ -166,6 +167,7 @@ export function useNav() {
|
|||||||
isCollapse,
|
isCollapse,
|
||||||
pureApp,
|
pureApp,
|
||||||
username,
|
username,
|
||||||
|
userAvatar,
|
||||||
avatarsStyle,
|
avatarsStyle,
|
||||||
tooltipEffect,
|
tooltipEffect,
|
||||||
getDropdownItemStyle,
|
getDropdownItemStyle,
|
||||||
|
@ -30,7 +30,9 @@ setTimeout(() => {
|
|||||||
}, 800);
|
}, 800);
|
||||||
|
|
||||||
axios
|
axios
|
||||||
.get("https://api.github.com/repos/pure-admin/vue-pure-admin/releases")
|
.get(
|
||||||
|
"https://gitee.com/api/v5/repos/yiming_chang/vue-pure-admin/releases?page=1&per_page=50&direction=desc"
|
||||||
|
)
|
||||||
.then(res => {
|
.then(res => {
|
||||||
list.value = res.data.map(v => {
|
list.value = res.data.map(v => {
|
||||||
return {
|
return {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user