修改 分享的 图标

This commit is contained in:
张成
2025-12-28 13:33:48 +08:00
parent e7ee8bc1de
commit d90dcb053e
2 changed files with 2 additions and 2 deletions

View File

@@ -2,7 +2,7 @@ import Taro from "@tarojs/taro";
import { View, Canvas } from "@tarojs/components"; import { View, Canvas } from "@tarojs/components";
import { forwardRef, useImperativeHandle } from "react"; import { forwardRef, useImperativeHandle } from "react";
import shareLogoSvg from "@/static/ntrp/ntrp_share_logo.png"; import shareLogoSvg from "@/static/ntrp/ntrp_share_logo.png";
import docCopySvg from "@/static/ntrp/ntrp_doc_copy.svg"; import docCopyPng from "@/static/ntrp/ntrp_doc_copy.png";
import { OSS_BASE_URL } from "@/config/api"; import { OSS_BASE_URL } from "@/config/api";
interface RadarChartV2Props { interface RadarChartV2Props {
@@ -315,7 +315,7 @@ const RadarChartV2 = forwardRef<RadarChartV2Ref, RadarChartV2Props>((props, ref)
const addonRotation = 8 * (Math.PI / 180); // 旋转 8 度 const addonRotation = 8 * (Math.PI / 180); // 旋转 8 度
try { try {
const docCopyImg = await loadImage(canvas, docCopySvg); const docCopyImg = await loadImage(canvas, docCopyPng);
ctx.save(); ctx.save();
// 移动到旋转中心 // 移动到旋转中心

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB