fix: the failure of breadcrumb animation (#4073)

This commit is contained in:
Vben 2024-08-07 22:01:45 +08:00 committed by GitHub
parent 1d38fb647e
commit a27b1c40e5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
8 changed files with 9 additions and 21 deletions

View File

@ -7,6 +7,7 @@ on:
permissions: permissions:
contents: read contents: read
pull-requests: write
jobs: jobs:
update_release_draft: update_release_draft:

View File

@ -189,5 +189,7 @@
}, },
"commentTranslate.hover.enabled": false, "commentTranslate.hover.enabled": false,
"i18n-ally.keystyle": "nested", "i18n-ally.keystyle": "nested",
"commentTranslate.multiLineMerge": true "commentTranslate.multiLineMerge": true,
"vue.server.hybridMode": true,
"typescript.tsdk": "node_modules/typescript/lib"
} }

View File

@ -10,7 +10,7 @@
项目开发完成之后,执行以下命令进行构建: 项目开发完成之后,执行以下命令进行构建:
**注意:** 请在项目目录下执行以下命令 **注意:** 请在项目目录下执行以下命令
```bash ```bash
pnpm build pnpm build
@ -24,7 +24,7 @@ pnpm build
- 使用项目自定的命令进行预览(推荐) - 使用项目自定的命令进行预览(推荐)
**注意:** 请在项目目录下执行以下命令 **注意:** 请在项目目录下执行以下命令
```bash ```bash
pnpm preview pnpm preview

View File

@ -13,6 +13,7 @@
"moduleResolution": "node", "moduleResolution": "node",
"resolveJsonModule": true, "resolveJsonModule": true,
"allowImportingTsExtensions": true,
"strict": true, "strict": true,
"strictNullChecks": true, "strictNullChecks": true,

View File

@ -34,21 +34,6 @@
transform: translateX(30px) skewX(-30deg); transform: translateX(30px) skewX(-30deg);
} }
/*
.breadcrumb-transition-move,
.breadcrumb-transition-enter-active {
transition: all 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}
.breadcrumb-transition-leave-active {
display: none;
}
.breadcrumb-transition-enter-from {
opacity: 0;
transform: translateX(-5px);
} */
@keyframes slide-down { @keyframes slide-down {
from { from {
opacity: 0; opacity: 0;

View File

@ -1,6 +1,7 @@
import './css/global.css'; import './css/global.css';
import './css/transition.css'; import './css/transition.css';
import './css/nprogress.css'; import './css/nprogress.css';
import './css/ui.css';
import './design-tokens'; import './design-tokens';
export {}; export {};

View File

@ -1,4 +1,2 @@
import './styles/index.css';
export * from './components'; export * from './components';
export { VisuallyHidden } from 'radix-vue'; export { VisuallyHidden } from 'radix-vue';

View File

@ -44,7 +44,7 @@ async function runDepcheck() {
// 删除file:前缀的依赖提示,该依赖是本地依赖 // 删除file:前缀的依赖提示,该依赖是本地依赖
Reflect.deleteProperty(unused.missing, 'file:'); Reflect.deleteProperty(unused.missing, 'file:');
Object.keys(unused.missing).forEach((key) => { Object.keys(unused.missing).forEach((key) => {
unused.missing[key] = unused.missing[key].filter( unused.missing[key] = (unused.missing[key] || []).filter(
(item: string) => !item.startsWith('/'), (item: string) => !item.startsWith('/'),
); );
if (unused.missing[key].length === 0) { if (unused.missing[key].length === 0) {