From 9131f51f95a256ace0a533e30e268663e37ba669 Mon Sep 17 00:00:00 2001 From: ewall <1054064180@qq.com> Date: Wed, 1 Apr 2020 13:47:28 +0800 Subject: [PATCH] add --- mock/user.js | 6 ++++-- src/views/user/index.vue | 1 - src/views/user/modules/Info.vue | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/mock/user.js b/mock/user.js index 3100dab..58cf89f 100644 --- a/mock/user.js +++ b/mock/user.js @@ -6,8 +6,10 @@ export default [ return { code: 200, entry: { - name: '张三', - avatar: '11111' + name: 'Ewall&熊猫', + avatar: + 'https://raw.githubusercontent.com/Ewall1106/panda-vue-template/master/src/assets/logo.png', + id: '00001' } } } diff --git a/src/views/user/index.vue b/src/views/user/index.vue index 683d8b5..b97921f 100644 --- a/src/views/user/index.vue +++ b/src/views/user/index.vue @@ -7,7 +7,6 @@