Explorar el Código

Merge branch 'iteration-upload-works'

lex hace 1 año
padre
commit
92aa8a1e7c
Se han modificado 2 ficheros con 2 adiciones y 1 borrados
  1. 1 0
      src/components/col-cropper/index.tsx
  2. 1 1
      src/views/creation/index.module.less

+ 1 - 0
src/components/col-cropper/index.tsx

@@ -306,6 +306,7 @@ export default defineComponent({
       })
     },
     async upPhoto(e: any) {
+      conosle.log(e, 'upload')
       const photoUrl = e.target.files[0]
       ;(this as any).$refs.headInput.value = null
       if (photoUrl != undefined) {

+ 1 - 1
src/views/creation/index.module.less

@@ -298,7 +298,7 @@
     overflow: hidden;
     text-overflow: ellipsis;
     white-space: nowrap;
-    max-width: 100%;
+    max-width: 230px;
 
     .musicTag {
       margin-right: 6px;