Skip to content

Commit dece2a1

Browse files
committed
fix: avatar block order first
1 parent b4602a8 commit dece2a1

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/views/account/settings/BasicSetting.vue

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<template>
22
<div class="account-settings-info-view">
3-
<a-row :gutter="16">
4-
<a-col :md="24" :lg="16">
3+
<a-row :gutter="16" type="flex" justify="center">
4+
<a-col :order="isMobile ? 2 : 1" :md="24" :lg="16">
55

66
<a-form layout="vertical">
77
<a-form-item
@@ -28,7 +28,7 @@
2828
</a-form>
2929

3030
</a-col>
31-
<a-col :md="24" :lg="8" :style="{ minHeight: '180px' }">
31+
<a-col :order="1" :md="24" :lg="8" :style="{ minHeight: '180px' }">
3232
<div class="ant-upload-preview" @click="$refs.modal.edit(1)" >
3333
<a-icon type="cloud-upload-o" class="upload-icon"/>
3434
<div class="mask">
@@ -47,8 +47,10 @@
4747

4848
<script>
4949
import AvatarModal from './AvatarModal'
50+
import { baseMixin } from '@/store/app-mixin'
5051
5152
export default {
53+
mixins: [baseMixin],
5254
components: {
5355
AvatarModal
5456
},

0 commit comments

Comments
 (0)