个人中心

zhc4dev
wangjiadong 2 years ago
parent 44d2b90c0c
commit cd32c5e2e2
  1. 12
      ant-design-vue-jeecg/src/views/shopping/pages/gerenzhongxin.vue

@ -89,10 +89,12 @@
<script> <script>
import Header from "../components/Header/HeaderView"; import Header from "../components/Header/HeaderView";
import Footer from "../components/Footer/FooterView" import Footer from "../components/Footer/FooterView"
import {mapGetters} from 'vuex'
import { getFileAccessHttpUrl,getAction } from "@/api/manage"
export default { export default {
name: "gerenzhongxin", name: "gerenzhongxin",
components: { Header,Footer }, components: { Header,Footer },
data() { data() {0
return { return {
current: ['allorders'],// current: ['allorders'],//
key:'',// key:'',//
@ -149,6 +151,14 @@
} }
}, },
methods: { methods: {
...mapGetters(["nickname", "avatar","userInfo"]),
//
getAvatar(){
return getFileAccessHttpUrl(this.avatar())
},
callback(key) { callback(key) {
console.log(key); console.log(key);
}, },

Loading…
Cancel
Save