From 7a5910ac61a372a865995d2a71caef3ea87c2050 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期四, 22 八月 2024 18:28:25 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
src/layout/components/Navbar.vue | 17 +++++++----------
1 files changed, 7 insertions(+), 10 deletions(-)
diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue
index 7defbcf..c3202d4 100644
--- a/src/layout/components/Navbar.vue
+++ b/src/layout/components/Navbar.vue
@@ -1,7 +1,7 @@
<template>
<div class="navbar">
<hamburger id="hamburger-container" :is-active="sidebar.opened" class="hamburger-container"
- @toggleClick="toggleSideBar" />
+ @toggleClick="toggleSideBar" />
<breadcrumb id="breadcrumb-container" class="breadcrumb-container" v-if="!topNav" />
<top-nav id="topmenu-container" class="topmenu-container" v-if="topNav" />
@@ -39,13 +39,13 @@
</div>
<div class="button-container">
- <el-button type="primary" @click="toScreen">鍙鍖栧ぇ灞�</el-button>
+ <el-button type="primary" @click="toScreen" size="small">鍙鍖栧ぇ灞�</el-button>
</div>
<div class="button-container">
- <el-button type="primary" @click="toSystemB">璺宠浆B绯荤粺</el-button>
+ <el-button type="primary" @click="toSystemB" size="small">璺宠浆B绯荤粺</el-button>
</div>
<div class="button-container">
- <el-button type="primary" @click="toSystemA">璺宠浆A绯荤粺</el-button>
+ <el-button type="primary" @click="toSystemA" size="small">璺宠浆A绯荤粺</el-button>
</div>
</div>
</template>
@@ -116,15 +116,12 @@
path: '/screen'
})
},
+
toSystemA() {
- this.$router.push({
- path: '/screen'
- })
+ window.open('https://www.baidu.com/')
},
toSystemB() {
- this.$router.push({
- path: '/screen'
- })
+ window.open('https://www.baidu.com/')
}
}
}
--
Gitblit v1.8.0