Commit 218d68b4 authored by “yiyousong”'s avatar “yiyousong”

perf: 优化皮肤上传错误提示

parent f74f5c29
...@@ -399,7 +399,7 @@ export default { ...@@ -399,7 +399,7 @@ export default {
file.type === "image/png" || file.type === "image/png" ||
file.type === "image/gif"; file.type === "image/gif";
if (!isJpgOrPng) { if (!isJpgOrPng) {
this.$message.error("请上传jpeg或者png图片!"); this.$message.error("请上传jpeg,png或者gif图片!");
} }
const isLt5M = file.size / 1024 / 1024 < 5; const isLt5M = file.size / 1024 / 1024 < 5;
if (!isLt5M) { if (!isLt5M) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment