feat(backtop): add backtop (#71)

This commit is contained in:
一万
2021-10-25 08:55:17 +08:00
committed by GitHub
parent 8d2824fe82
commit ae161e8b48
2 changed files with 5 additions and 2 deletions

View File

@@ -16,6 +16,7 @@ const transition = computed(() => {
<template>
<section class="app-main">
<el-scrollbar>
<el-backtop target=".app-main .el-scrollbar__wrap"></el-backtop>
<router-view>
<template #default="{ Component, route }">
<transition