Browse Source

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

iwt 1 month ago
parent
commit
6df2b88587
1 changed files with 0 additions and 22 deletions
  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