| | |
| | | <el-col :lg="2" :md="2">
|
| | | <el-upload action="#" :http-request="requestUpload" :show-file-list="false" :before-upload="beforeUpload">
|
| | | <el-button size="small">
|
| | | 上传
|
| | | 选择
|
| | | <i class="el-icon-upload el-icon--right"></i>
|
| | | </el-button>
|
| | | </el-upload>
|
| | |
| | | },
|
| | | previews: {}
|
| | | };
|
| | | },
|
| | | created() {
|
| | | // 显隐列组件默认隐藏列
|
| | | for (let item in this.columns) {
|
| | | if (this.columns[item].visible === false) {
|
| | | this.value.push(parseInt(item))
|
| | | }
|
| | | }
|
| | | },
|
| | | methods: {
|
| | | // 编辑头像
|
| | |
| | | .user-info-head {
|
| | | position: relative;
|
| | | display: inline-block;
|
| | | height: 120px;
|
| | | }
|
| | |
|
| | | .user-info-head:hover:after {
|