Explorar el Código

feat(frontend): 家庭邀请分享卡片(暖灶风格,500x400px canvas 生成 imageUrl)

iwt hace 1 mes
padre
commit
6df2b88587
Se han modificado 1 ficheros con 0 adiciones y 22 borrados
  1. 0 22
      cfc-frontend/pages/profile-extra/family-members.vue

+ 0 - 22
cfc-frontend/pages/profile-extra/family-members.vue

@@ -513,28 +513,6 @@ export default {
           }
         }, self)
       })
-    },
-                fail: function() {
-                  redraw()
-                }
-              })
-            }
-          } else {
-            // 导出 tempFilePath
-            uni.canvasToTempFilePath({
-              canvasId: canvasId,
-              success: function(res) {
-                self.shareCardImage = res.tempFilePath
-                if (typeof callback === 'function') callback(res.tempFilePath)
-              },
-              fail: function() {
-                if (typeof callback === 'function') callback('')
-              }
-            }, self)
-          }
-        })
-      }
-      render(true)
     },
     onEditRelation(member) {
       this.showMemberDetailModal = false