Compare commits
No commits in common. "407408feef9e650c1fc642952f09ea977133dc30" and "8419875cbe6ecb899eeb3d025abfa59d29679518" have entirely different histories.
407408feef
...
8419875cbe
|
@ -22,7 +22,7 @@
|
||||||
<template v-for="item, index in leftList">
|
<template v-for="item, index in leftList">
|
||||||
<el-collapse-item :name="index + 1" :key="index" v-if="!item.isRouter">
|
<el-collapse-item :name="index + 1" :key="index" v-if="!item.isRouter">
|
||||||
<template slot="title" class="collapse-title">
|
<template slot="title" class="collapse-title">
|
||||||
<div class="img" @click="toRouter1(item)"><img :src="item.img" alt=""></div> {{ item.name }}
|
<div class="img"><img :src="item.img" alt=""></div> {{ item.name }}
|
||||||
</template>
|
</template>
|
||||||
<ul class="table-ul">
|
<ul class="table-ul">
|
||||||
<li class="table-li" @click="toRouter1(item1)"
|
<li class="table-li" @click="toRouter1(item1)"
|
||||||
|
@ -139,7 +139,6 @@ export default {
|
||||||
},
|
},
|
||||||
|
|
||||||
toRouter1(item) {
|
toRouter1(item) {
|
||||||
console.log(item,11);
|
|
||||||
if (item.router) {
|
if (item.router) {
|
||||||
if (item.http) {
|
if (item.http) {
|
||||||
window.location.href = item.http;
|
window.location.href = item.http;
|
||||||
|
|
Loading…
Reference in New Issue