@@ -7,9 +7,9 @@
|
||||
<el-input v-model="form.name" />
|
||||
</el-form-item>
|
||||
<el-form-item label="系统图标" prop="logo">
|
||||
<el-upload v-model:file-list="fileList" action="https://run.mocky.io/v3/9d059bf9-4660-45f2-925d-ce80ad6c4d15" list-type="picture-card">
|
||||
<el-icon><Plus /></el-icon>
|
||||
</el-upload>
|
||||
<div class="text-center">
|
||||
<userAvatar />
|
||||
</div>
|
||||
<br />
|
||||
<p>只支持.jpg、.png格式,最多上传1张,单张大小不超过500kb</p>
|
||||
</el-form-item>
|
||||
@@ -23,6 +23,7 @@
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import UserAvatar from '@/views/system/user/profile/userAvatar.vue';
|
||||
import { ref, reactive } from 'vue';
|
||||
import type { UploadProps, UploadUserFile } from 'element-plus';
|
||||
const form = reactive({
|
||||
|
||||
Reference in New Issue
Block a user