个人中心

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>
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);
},

Loading…
Cancel
Save