上传文件增加格式限制

调整分页的默认样式
This commit is contained in:
renpy 2023-09-05 17:17:37 +08:00
parent 1114082d7c
commit 0a4615e261

View File

@ -30,7 +30,7 @@
<!-- 底部按钮 --> <!-- 底部按钮 -->
<template slot="custom-footer"> <template slot="custom-footer">
<a-space> <a-space>
<a-upload :custom-request="handleUpload" :multiple="true" :show-upload-list="false" :before-upload="beforeUpload" > <a-upload accept=".PHD,.phd" :custom-request="handleUpload" :multiple="true" :show-upload-list="false" :before-upload="beforeUpload" >
<a-button type="primary" :loading="uploading"> <a-button type="primary" :loading="uploading">
Upload Upload
</a-button> </a-button>
@ -336,9 +336,9 @@ export default {
} }
.ant-pagination{ .ant-pagination{
position: absolute; position: absolute;
left: 50%;
bottom: 0; bottom: 0;
transform: translateX(-50%); width: 100%;
text-align: center;
} }
.ant-select { .ant-select {
.ant-select-arrow-icon { .ant-select-arrow-icon {