File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 1
1
2
2
3
- VUE_APP_BASE_URL = ' http://dev.lin.colorful3.com '
3
+ VUE_APP_BASE_URL = ' http://dev.koa.7yue.pro/ '
File renamed without changes.
Original file line number Diff line number Diff line change 3
3
<el-dropdown trigger =" click" >
4
4
<span class =" el-dropdown-link" >
5
5
<div class =" nav-avatar" >
6
- <img :src =" user.avatar || '../../assets/img/user/user.jpg' " alt =" 头像" >
6
+ <img :src =" user.avatar || defaultAvatar " alt =" 头像" >
7
7
</div >
8
8
</span >
9
9
<el-dropdown-menu slot =" dropdown" class =" user-box" >
10
10
<div class =" user-info" >
11
11
<div class =" avatar" title =" 点击修改头像" >
12
- <img :src =" user.avatar || '../../assets/img/user/user.jpg' " alt =" 头像" >
12
+ <img :src =" user.avatar || defaultAvatar " alt =" 头像" >
13
13
<label class =" mask" >
14
14
<i class =" iconfont icon-icon-test" style =" font-size : 20px ;" ></i >
15
15
<input
@@ -110,6 +110,7 @@ import User from '@/lin/models/user'
110
110
import Vue from ' vue'
111
111
import Croppa from ' vue-croppa'
112
112
import ' vue-croppa/dist/vue-croppa.css'
113
+ import defaultAvatar from ' @/assets/img/user/user.png'
113
114
114
115
Vue .use (Croppa)
115
116
@@ -151,6 +152,7 @@ export default {
151
152
return {
152
153
nickname: null ,
153
154
dialogFormVisible: false ,
155
+ defaultAvatar,
154
156
form: {
155
157
old_password: ' ' ,
156
158
new_password: ' ' ,
You can’t perform that action at this time.
0 commit comments