mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-07-04 19:54:08 +00:00
fix: address pr
This commit is contained in:
parent
9dd6df2b97
commit
d2e3f7aec2
@ -13,7 +13,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|||||||
See the License for the specific language governing permissions and
|
See the License for the specific language governing permissions and
|
||||||
limitations under the License. -->
|
limitations under the License. -->
|
||||||
<template>
|
<template>
|
||||||
<div class="side-bar">
|
<div class="side-bar" v-if="showMenu">
|
||||||
<div :class="isCollapse ? 'logo-icon-collapse' : 'logo-icon'">
|
<div :class="isCollapse ? 'logo-icon-collapse' : 'logo-icon'">
|
||||||
<Icon :size="isCollapse ? 'xl' : 'logo'" :iconName="isCollapse ? 'logo' : 'logo-sw'" />
|
<Icon :size="isCollapse ? 'xl' : 'logo'" :iconName="isCollapse ? 'logo' : 'logo-sw'" />
|
||||||
</div>
|
</div>
|
||||||
@ -26,7 +26,6 @@ limitations under the License. -->
|
|||||||
:unique-opened="true"
|
:unique-opened="true"
|
||||||
:collapse="isCollapse"
|
:collapse="isCollapse"
|
||||||
:style="{ border: 'none' }"
|
:style="{ border: 'none' }"
|
||||||
v-if="showMenu"
|
|
||||||
>
|
>
|
||||||
<template v-for="(menu, index) in routes" :key="index">
|
<template v-for="(menu, index) in routes" :key="index">
|
||||||
<el-sub-menu :index="String(menu.name)" v-if="menu.meta.hasGroup">
|
<el-sub-menu :index="String(menu.name)" v-if="menu.meta.hasGroup">
|
||||||
@ -68,7 +67,6 @@ limitations under the License. -->
|
|||||||
:style="{
|
:style="{
|
||||||
color: theme === 'light' ? '#eee' : '#252a2f',
|
color: theme === 'light' ? '#eee' : '#252a2f',
|
||||||
}"
|
}"
|
||||||
v-if="showMenu"
|
|
||||||
>
|
>
|
||||||
<Icon size="middle" iconName="format_indent_decrease" @click="controlMenu" />
|
<Icon size="middle" iconName="format_indent_decrease" @click="controlMenu" />
|
||||||
</div>
|
</div>
|
||||||
@ -98,7 +96,6 @@ limitations under the License. -->
|
|||||||
appStore.setIsMobile(false);
|
appStore.setIsMobile(false);
|
||||||
}
|
}
|
||||||
if (route.params.config) {
|
if (route.params.config) {
|
||||||
isCollapse.value = true;
|
|
||||||
showMenu.value = false;
|
showMenu.value = false;
|
||||||
}
|
}
|
||||||
const controlMenu = () => {
|
const controlMenu = () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user