Ver Fonte

merge code

kevin.T há 2 meses atrás
pai
commit
c7e84691ff

+ 2 - 3
packages/merchant/src/pages/agent/designer/archives/award/imgs.vue

@@ -24,10 +24,9 @@ const fileList = computed(() => {
   })
 })
 const submitUpload = async () => {
+  // const { id, userId } = basicData.value
   if (formData.value) {
-    const { code } = await updateDesignerBasicInfo(
-      Object.assign({}, { ...basicData.value }, { imageUrl: formData.value }),
-    )
+    const { code } = await updateDesignerBasicInfo({ userId: id.value, imageUrl: formData.value })
     if (code === 0) {
       uni.navigateBack()
     }