perf: 同步近期修改

This commit is contained in:
2025-02-22 00:14:55 +08:00
parent 61d800d3c7
commit f01a672b2d
2 changed files with 3 additions and 2 deletions

View File

@@ -94,7 +94,7 @@ const onSubmit = async (formEl: FormInstance) => {
<h3 class="my-8">个人信息</h3>
<el-form ref="userInfoFormRef" label-position="top" :model="userInfo">
<el-form-item label="头像">
<el-avatar :size="80" :src="userInfo.avatar" />
<el-avatar :size="80" :src="`/api/${userInfo.avatar}`" />
<el-upload
ref="uploadRef"
accept="image/*"

View File

@@ -46,7 +46,8 @@ export const useLocale = (tableRef: Ref) => {
total: 0,
pageSize: 10,
currentPage: 1,
background: true
background: true,
pageSizes: [10, 20, 30, 40, 50]
});
/**
* 表格列设置