File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ async function submit() {
152152 formData .append (' file' , blob , fileName )
153153 formData .append (' aspect_id' , props .aspect .id )
154154 formData .append (' name' , metadata .name .trim ())
155- formData .append (' description' , metadata .description .trim ())
155+ formData .append (' description' , metadata .description .trim () ?? metadata . name . trim () )
156156 formData .append (' visibility' , String (metadata .visibility .valueOf ()))
157157 metadata .labels .forEach (label => formData .append (' labels' , label ))
158158
@@ -249,10 +249,10 @@ async function submit() {
249249 <span class =" label-text" >可见性</span >
250250 </label >
251251 <select v-model =" metadata.visibility" class =" select select-bordered w-full" >
252- <option value =" PRIVATE" >
252+ <option : value =" ImageVisibility. PRIVATE" >
253253 私有
254254 </option >
255- <option value =" PUBLIC" >
255+ <option : value =" ImageVisibility. PUBLIC" >
256256 公开
257257 </option >
258258 </select >
You can’t perform that action at this time.
0 commit comments