1
This commit is contained in:
@@ -636,7 +636,6 @@ function Result() {
|
||||
try {
|
||||
const url = await genCardImage();
|
||||
Taro.saveImageToPhotosAlbum({ filePath: url });
|
||||
Taro.showToast({ title: "保存成功" });
|
||||
} catch (e) {
|
||||
Taro.showToast({ title: "图片保存失败", icon: "none" });
|
||||
}
|
||||
@@ -750,16 +749,6 @@ function Result() {
|
||||
</View>
|
||||
</View>
|
||||
</View>
|
||||
<Canvas
|
||||
type="2d"
|
||||
id="exportCanvas"
|
||||
style={{
|
||||
width: "0px",
|
||||
height: "0px",
|
||||
position: "absolute",
|
||||
left: "-9999px",
|
||||
}}
|
||||
/>
|
||||
{/* 隐藏的 RadarV2 用于生成完整图片,不显示在界面上 */}
|
||||
<View style={{ position: "absolute", top: "-9999px", left: "-9999px", width: "0px", height: "0px", overflow: "hidden" }}>
|
||||
<RadarChartV2
|
||||
|
||||
Reference in New Issue
Block a user