diff --git a/index.html b/index.html index 2943541..5cbf881 100644 --- a/index.html +++ b/index.html @@ -5,7 +5,7 @@ - 摄影展 + 飞天遇上航天
diff --git a/src/store/auth/index.js b/src/store/auth/index.js index 9bcf57b..3d40f33 100644 --- a/src/store/auth/index.js +++ b/src/store/auth/index.js @@ -97,6 +97,10 @@ export const useAuth=createGlobalState(()=>{ ] },localStorage) const clickAddWorks=()=>{ + if(formData.value.works?.length>=5){ + message.warning('最多上传5个作品') + return + } formData.value.works.push({ picUrl: "", //作品图片url workName: "", //作品名称