'admin-21.10.18:优化tagsview问题'

This commit is contained in:
lyt 2021-10-18 20:31:11 +08:00
parent 4bca8db62b
commit 5fdef5fc69
2 changed files with 4 additions and 6 deletions

View File

@ -82,7 +82,7 @@ export default {
if (getThemeConfig.value.isShareTagsView) {
return v.path === state.routePath;
} else {
return v.url === state.routeActive;
return v.url ? v.url === state.routeActive : v.path === state.routeActive;
}
};
// tagsViewList
@ -507,8 +507,6 @@ export default {
.layout-navbars-tagsview {
background-color: var(--el-color-white);
border-bottom: 1px solid #f1f2f3;
z-index: 1;
position: relative;
::v-deep(.el-scrollbar__wrap) {
overflow-x: auto !important;
}

View File

@ -1,5 +1,5 @@
<template>
<div class="layout-view-bg-white flex" :style="{ height: `calc(100vh - ${setIframeHeight}`, border: 'none' }" v-loading="iframeLoading">
<div class="layout-view-bg-white flex mt1" :style="{ height: `calc(100vh - ${setIframeHeight}`, border: 'none' }" v-loading="iframeLoading">
<iframe :src="iframeUrl" frameborder="0" height="100%" width="100%" id="iframe" v-show="!iframeLoading"></iframe>
</div>
</template>
@ -36,8 +36,8 @@ export default defineComponent({
if (isTagsViewCurrenFull) {
return `0px`;
} else {
if (isTagsview) return `84px`;
else return `50px`;
if (isTagsview) return `83px`;
else return `49px`;
}
});
//