Compare commits

..

3 Commits

Author SHA1 Message Date
xiaomeng 407408feef Merge pull request 'pc-master' (#50) from pc-master into portal
Reviewed-on: #50
2023-11-21 08:53:43 +00:00
孙萌 ca3731837d Merge branch 'pc-master' of https://git.lihe-control.com/xiaomeng/wszhyWx into pc-master 2023-11-21 16:51:51 +08:00
孙萌 0d4f6e0762 1 2023-11-21 16:51:45 +08:00
1 changed files with 2 additions and 1 deletions

View File

@ -22,7 +22,7 @@
<template v-for="item, index in leftList">
<el-collapse-item :name="index + 1" :key="index" v-if="!item.isRouter">
<template slot="title" class="collapse-title">
<div class="img"><img :src="item.img" alt=""></div> {{ item.name }}
<div class="img" @click="toRouter1(item)"><img :src="item.img" alt=""></div> {{ item.name }}
</template>
<ul class="table-ul">
<li class="table-li" @click="toRouter1(item1)"
@ -139,6 +139,7 @@ export default {
},
toRouter1(item) {
console.log(item,11);
if (item.router) {
if (item.http) {
window.location.href = item.http;