|
|
|
@ -89,10 +89,12 @@ |
|
|
|
|
<script> |
|
|
|
|
import Header from "../components/Header/HeaderView"; |
|
|
|
|
import Footer from "../components/Footer/FooterView" |
|
|
|
|
import {mapGetters} from 'vuex' |
|
|
|
|
import { getFileAccessHttpUrl,getAction } from "@/api/manage" |
|
|
|
|
export default { |
|
|
|
|
name: "gerenzhongxin", |
|
|
|
|
components: { Header,Footer }, |
|
|
|
|
data() { |
|
|
|
|
data() {0 |
|
|
|
|
return { |
|
|
|
|
current: ['allorders'],//目前打开的菜单 |
|
|
|
|
key:'',//当前选择的订单状态(待支付、待收货等) |
|
|
|
@ -149,6 +151,14 @@ |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
methods: { |
|
|
|
|
...mapGetters(["nickname", "avatar","userInfo"]), |
|
|
|
|
//获取用户头像 |
|
|
|
|
getAvatar(){ |
|
|
|
|
return getFileAccessHttpUrl(this.avatar()) |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
callback(key) { |
|
|
|
|
console.log(key); |
|
|
|
|
}, |
|
|
|
|