Commit 0c20f431 authored by luo ying's avatar luo ying

引导页修改

parent 0b396786
<template> <template>
<div class="router-main flex fc-m fa-m"> <div class="router-main flex fc-m fa-m">
<div class="bdImg pr" @click="menu = false"> <div class="bdImg pr" @click="pageClick">
<div <div
class="one pa cursor" class="one pa cursor"
:class="{ oneHover: oneShow && isIndex == index }" :class="{ oneHover: oneShow && isIndex == index }"
...@@ -219,7 +219,6 @@ export default { ...@@ -219,7 +219,6 @@ export default {
}, },
methods: { methods: {
load() { load() {
console.log(this.$api, this.$http);
this.$api.get(`${systemUrl}/menu/getusermenu?id=mes_roter`).then((r) => { this.$api.get(`${systemUrl}/menu/getusermenu?id=mes_roter`).then((r) => {
if (r.result) { if (r.result) {
let arr = r.result[0].children.map((l) => { let arr = r.result[0].children.map((l) => {
...@@ -236,6 +235,10 @@ export default { ...@@ -236,6 +235,10 @@ export default {
} }
}); });
}, },
pageClick() {
this.menu = false;
this.oneShow = false;
},
clickLi(v) { clickLi(v) {
if (v) { if (v) {
this.$router.push(v.url); this.$router.push(v.url);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment