chore: update

This commit is contained in:
xiaoxian521 2022-11-22 00:25:28 +08:00
parent a8c59c5c36
commit c5b107eab9
4 changed files with 6 additions and 5 deletions

View File

@ -59,7 +59,7 @@
"mockjs": "^1.1.0",
"nprogress": "^0.2.0",
"path": "^0.12.7",
"pinia": "^2.0.23",
"pinia": "^2.0.24",
"qrcode": "^1.5.1",
"qs": "^6.11.0",
"resize-observer-polyfill": "^1.5.1",

2
pnpm-lock.yaml generated
View File

@ -74,7 +74,7 @@ specifiers:
nprogress: ^0.2.0
path: ^0.12.7
picocolors: ^1.0.0
pinia: ^2.0.23
pinia: ^2.0.24
postcss: ^8.4.18
postcss-html: ^1.5.0
postcss-import: ^15.0.0

View File

@ -5,7 +5,8 @@ import NoticeList from "./noticeList.vue";
import { Tabs, TabPane } from "@pureadmin/components";
const dropdownDom = ref();
const activeKey = ref(noticesData[2].key);
const activeKey = ref(noticesData[0].key);
const notices = ref(noticesData);
const noticesNum = ref(0);
@ -33,7 +34,7 @@ function tabClick() {
centered
class="dropdown-tabs"
:tabBarStyle="{ marginLeft: notices?.length > 4 ? '8px' : '0' }"
v-model="activeKey"
v-model:activeKey="activeKey"
@tabClick="tabClick"
>
<template v-for="item in notices" :key="item.key">

View File

@ -2,7 +2,7 @@ import { removeToken, setToken, type DataInfo } from "./auth";
import { subBefore, getQueryMap } from "@pureadmin/utils";
/**
*
* http://localhost:8848/#/permission/page/index?username=sso&roles=admin&accessToken=eyJhbGciOiJIUzUxMiJ9.admin
*
*
* 1.