|
@@ -13,7 +13,7 @@
|
|
:color="baseInfo?.sex ? (baseInfo?.sex === '1' ? '#1867c0' : 'error') : 'error'"
|
|
:color="baseInfo?.sex ? (baseInfo?.sex === '1' ? '#1867c0' : 'error') : 'error'"
|
|
:icon="baseInfo?.sex ? (baseInfo?.sex === '1' ? 'mdi-gender-male' : 'mdi-gender-female') : 'mdi-gender-female'">
|
|
:icon="baseInfo?.sex ? (baseInfo?.sex === '1' ? 'mdi-gender-male' : 'mdi-gender-female') : 'mdi-gender-female'">
|
|
<v-img :src="getUserAvatar(baseInfo?.avatar, baseInfo?.sex)" width="130" height="130" style="border-radius: 6px;"></v-img>
|
|
<v-img :src="getUserAvatar(baseInfo?.avatar, baseInfo?.sex)" width="130" height="130" style="border-radius: 6px;"></v-img>
|
|
- <div v-show="showIcon" @click="openFileInput" class="mdi mdi-camera-outline camera">
|
|
|
|
|
|
+ <div v-show="showIcon" @click.self="openFileInput" class="mdi mdi-camera-outline camera">
|
|
<input
|
|
<input
|
|
type="file"
|
|
type="file"
|
|
ref="fileInput"
|
|
ref="fileInput"
|
|
@@ -25,7 +25,7 @@
|
|
</v-badge>
|
|
</v-badge>
|
|
<div v-else style="width: 130px; height: 130px;">
|
|
<div v-else style="width: 130px; height: 130px;">
|
|
<v-img :src="getUserAvatar(baseInfo?.avatar, baseInfo?.sex)" width="130" height="130" style="border-radius: 6px;"></v-img>
|
|
<v-img :src="getUserAvatar(baseInfo?.avatar, baseInfo?.sex)" width="130" height="130" style="border-radius: 6px;"></v-img>
|
|
- <div v-show="showIcon" @click="openFileInput" class="mdi mdi-camera-outline camera">
|
|
|
|
|
|
+ <div v-show="showIcon" @click.self="openFileInput" class="mdi mdi-camera-outline camera">
|
|
<input
|
|
<input
|
|
type="file"
|
|
type="file"
|
|
ref="fileInput"
|
|
ref="fileInput"
|