Commit be08843d authored by sixiaofeng's avatar sixiaofeng

mian-page点击左侧返回按钮交互调整

parent ce48aac7
......@@ -58,8 +58,8 @@ export default Vue.extend({
},
methods: {
clickLeft() {
// this.$emit('click-left')
this.$router.go(-1)
this.$emit('click-left')
// this.$router.go(-1)
}
}
});
......
<template>
<!-- 团队详情 -->
<main-page left-arrow>
<main-page left-arrow @click-left="$router.go(-1)">
<template slot="right">
<app-icon
type="png"
......
<template>
<div class="team-frame">
<main-page left-arrow >
<main-page left-arrow @click-left="$router.go(-1)">
<template slot="right">
<app-icon
type="png"
......@@ -62,7 +62,7 @@ export default Vue.extend({
// this.$router.go(-1)
// },
clickItem(val: Member) {
console.log(val)
// console.log(val)
this.$router.push(`/team/${val.id}`)
},
addMember() {
......
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