修改 分享的 图标
This commit is contained in:
@@ -2,7 +2,7 @@ import Taro from "@tarojs/taro";
|
||||
import { View, Canvas } from "@tarojs/components";
|
||||
import { forwardRef, useImperativeHandle } from "react";
|
||||
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";
|
||||
|
||||
interface RadarChartV2Props {
|
||||
@@ -315,7 +315,7 @@ const RadarChartV2 = forwardRef<RadarChartV2Ref, RadarChartV2Props>((props, ref)
|
||||
const addonRotation = 8 * (Math.PI / 180); // 旋转 8 度
|
||||
|
||||
try {
|
||||
const docCopyImg = await loadImage(canvas, docCopySvg);
|
||||
const docCopyImg = await loadImage(canvas, docCopyPng);
|
||||
ctx.save();
|
||||
|
||||
// 移动到旋转中心
|
||||
|
||||
BIN
src/static/ntrp/ntrp_doc_copy.png
Normal file
BIN
src/static/ntrp/ntrp_doc_copy.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.3 KiB |
Reference in New Issue
Block a user