From a5ba580dcafbdfc55b462df74c68ef5403b39332 Mon Sep 17 00:00:00 2001
From: ZhangXianQiang <1135831638@qq.com>
Date: 星期四, 25 四月 2024 18:03:56 +0800
Subject: [PATCH] fix:修改代理
---
src/layout/components/Navbar.vue | 28 ++++++++++++++++------------
1 files changed, 16 insertions(+), 12 deletions(-)
diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue
index a122c07..7defbcf 100644
--- a/src/layout/components/Navbar.vue
+++ b/src/layout/components/Navbar.vue
@@ -38,15 +38,14 @@
</el-dropdown>
</div>
- <div class="test-container">
- <el-button-group style="vertical-align: text-bottom;">
- <el-button @click="exchange(100)">鐪佸巺瑙掕壊</el-button>
- <el-button @click="exchange(103)">鍖哄幙瑙掕壊</el-button>
- <el-button @click="exchange(2)">杩愮淮瑙掕壊</el-button>
- </el-button-group>
- </div>
<div class="button-container">
<el-button type="primary" @click="toScreen">鍙鍖栧ぇ灞�</el-button>
+ </div>
+ <div class="button-container">
+ <el-button type="primary" @click="toSystemB">璺宠浆B绯荤粺</el-button>
+ </div>
+ <div class="button-container">
+ <el-button type="primary" @click="toSystemA">璺宠浆A绯荤粺</el-button>
</div>
</div>
</template>
@@ -97,11 +96,6 @@
}
},
methods: {
- exchange(roleId) {
- exchangeRole(roleId).then(response => {
- this.$modal.msgSuccess("淇敼鎴愬姛");
- }).catch(() => { });
- },
toggleSideBar() {
this.$store.dispatch('app/toggleSideBar')
},
@@ -121,6 +115,16 @@
this.$router.push({
path: '/screen'
})
+ },
+ toSystemA() {
+ this.$router.push({
+ path: '/screen'
+ })
+ },
+ toSystemB() {
+ this.$router.push({
+ path: '/screen'
+ })
}
}
}
--
Gitblit v1.8.0