Compare commits

...

2 Commits

Author SHA1 Message Date
夕阳微笑1
b5bdf3b548 图片可以上传gif 2024-12-24 15:08:44 +08:00
夕阳微笑1
e69d5528ad 登录页修改 2024-12-24 15:08:33 +08:00
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@
<img :src="logoMini" />
<div class="login-left-logo-text">
<span>{{ getThemeConfig.globalTitle }}</span>
<span class="login-left-logo-text-msg">{{ getThemeConfig.globalViceTitleMsg }}</span>
<!-- <span class="login-left-logo-text-msg">{{ getThemeConfig.globalViceTitleMsg }}</span> -->
</div>
</div>
<div class="login-left-img">

View File

@ -420,7 +420,7 @@ const disabled = ref(false)
const handleChange: UploadProps['onChange'] = async (file: uploadFile, uploadFiles) => {
state.formData.loading = true;
if (file.raw.type === 'image/png' || file.raw.type === 'image/jpeg' || file.raw.type === 'image/jpg') {
if (file.raw.type === 'image/png' || file.raw.type === 'image/jpeg' || file.raw.type === 'image/jpg' || file.raw.type === 'image/gif') {
state.formData.fileList = uploadFiles;
uploadDisabled.value = true;
try {