fix: 提交修改
Build and Deploy Vue3 / build (push) Successful in 1m31s
Build and Deploy Vue3 / deploy (push) Successful in 1m9s

This commit is contained in:
2026-04-15 16:02:36 +08:00
parent 2f06aa9f5f
commit b3ed406f84
61 changed files with 7476 additions and 7226 deletions
+11 -7
View File
@@ -1,20 +1,20 @@
<template>
<el-dialog
v-model="visible"
title="选择头像"
:title="title"
width="800px"
append-to-body
@close="handleClose"
>
<div class="avatar-selector">
<el-tabs v-model="activeTab" @tab-click="handleTabClick">
<!-- 用户文件列表 -->
<el-tab-pane label="用户文件" name="userFiles">
<!-- 文件列表 -->
<el-tab-pane label="文件" name="userFiles">
<div class="file-list-container">
<div class="file-list-header">
<h4>用户文件列表</h4>
<h4>文件列表</h4>
<el-button type="primary" @click="switchToUpload" :icon="Upload">
上传新头像
上传新文件
</el-button>
</div>
<div class="file-grid" v-loading="loading">
@@ -58,8 +58,8 @@
</div>
</el-tab-pane>
<!-- 上传头像 -->
<el-tab-pane label="上传头像" name="upload">
<!-- 上传文件 -->
<el-tab-pane label="上传文件" name="upload">
<div class="upload-section">
<el-upload
:http-request="handleUpload"
@@ -118,6 +118,10 @@ import { closeAllMessage } from '../../utils/message'
currentCoverId: {
type: [String, Number],
default: ''
},
title: {
type: String,
default: '选择文件'
}
})