Compare commits

..

No commits in common. "931fb70ee976448b3eac65bfb1c181818b56ac16" and "93f92f42c5088955f89c984cc8f5ecf45b49c290" have entirely different histories.

2 changed files with 4 additions and 5 deletions

View File

@ -636,7 +636,6 @@ img {
line-height: 24px;
border-radius: 5px;
background-color: rgba(239, 239, 239, 1);
&:hover,
&.is-active {
color: rgba(255, 255, 255, 1);
background-color: rgba(62, 142, 247, 1);

View File

@ -2,7 +2,7 @@
* @Author: zwq
* @Date: 2023-07-13 15:31:21
* @LastEditors: zwq
* @LastEditTime: 2023-07-20 09:05:48
* @LastEditTime: 2023-07-19 16:34:06
* @Description:
-->
<template>
@ -71,9 +71,9 @@ export default {
},
// tabs, tab
tabRemoveHandle (tabName) {
// if (tabName === 'home') {
// return false
// }
if (tabName === 'home') {
return false
}
this.$store.state.contentTabs = this.$store.state.contentTabs.filter(item => item.name !== tabName)
if (this.$store.state.contentTabs.length <= 0) {
this.$store.state.sidebarMenuActiveName = this.$store.state.contentTabsActiveName = 'home'