fix unused
This commit is contained in:
parent
581835107b
commit
106b0abe9f
|
@ -8,7 +8,7 @@ import LinkButton from "../link/LinkButton";
|
|||
import ImageZoom from "../../containers/app/ImageZoom";
|
||||
import LinkTrace from "../link/LinkTrace";
|
||||
import {isPC} from "../../utils/navigatorUtils";
|
||||
import {handleScroll, handleZoom} from "../../utils/gaHelper";
|
||||
import {handleScroll} from "../../utils/gaHelper";
|
||||
|
||||
const pictures = [
|
||||
'https://7172-qrbtf-1d845d-1255694434.tcb.qcloud.la/QrbtfGallery/gallery04.jpg',
|
||||
|
|
|
@ -2,7 +2,6 @@ import React from "react";
|
|||
import {ParamTypes} from "../../constant/ParamTypes";
|
||||
import {getTypeTable, QRPointType} from "../../utils/qrcodeHandler";
|
||||
import {createRenderer} from "../style/Renderer";
|
||||
import RendererResImage from "./RendererResImage";
|
||||
|
||||
function listPoints(qrcode, params) {
|
||||
if (!qrcode) return []
|
||||
|
|
|
@ -2,8 +2,6 @@ import React from "react";
|
|||
import {ParamTypes} from "../../constant/ParamTypes";
|
||||
import {getTypeTable, QRPointType} from "../../utils/qrcodeHandler";
|
||||
import {createRenderer} from "../style/Renderer";
|
||||
import LinkTrace from "../link/LinkTrace";
|
||||
import {RendererRect} from "./RendererBase";
|
||||
import {rand} from "../../utils/util";
|
||||
|
||||
function listPoints(qrcode, params) {
|
||||
|
@ -16,11 +14,6 @@ function listPoints(qrcode, params) {
|
|||
const g2 = [];
|
||||
|
||||
let id = 0;
|
||||
let size = 0.8;
|
||||
const vw = [3, -3];
|
||||
const vh = [3, -3];
|
||||
|
||||
const sq25 = "M32.048565,-1.29480038e-15 L67.951435,1.29480038e-15 C79.0954192,-7.52316311e-16 83.1364972,1.16032014 87.2105713,3.3391588 C91.2846454,5.51799746 94.4820025,8.71535463 96.6608412,12.7894287 C98.8396799,16.8635028 100,20.9045808 100,32.048565 L100,67.951435 C100,79.0954192 98.8396799,83.1364972 96.6608412,87.2105713 C94.4820025,91.2846454 91.2846454,94.4820025 87.2105713,96.6608412 C83.1364972,98.8396799 79.0954192,100 67.951435,100 L32.048565,100 C20.9045808,100 16.8635028,98.8396799 12.7894287,96.6608412 C8.71535463,94.4820025 5.51799746,91.2846454 3.3391588,87.2105713 C1.16032014,83.1364972 5.01544207e-16,79.0954192 -8.63200256e-16,67.951435 L8.63200256e-16,32.048565 C-5.01544207e-16,20.9045808 1.16032014,16.8635028 3.3391588,12.7894287 C5.51799746,8.71535463 8.71535463,5.51799746 12.7894287,3.3391588 C16.8635028,1.16032014 20.9045808,7.52316311e-16 32.048565,-1.29480038e-15 Z";
|
||||
|
||||
let otherColor = params[0];
|
||||
let posColor = params[1];
|
||||
|
|
|
@ -3,7 +3,6 @@ import {ParamTypes} from "../../constant/ParamTypes";
|
|||
import {getTypeTable, QRPointType} from "../../utils/qrcodeHandler";
|
||||
import {createRenderer} from "../style/Renderer";
|
||||
import LinkTrace from "../link/LinkTrace";
|
||||
import {RendererRect} from "./RendererBase";
|
||||
|
||||
function listPoints(qrcode, params) {
|
||||
if (!qrcode) return []
|
||||
|
|
|
@ -2,8 +2,6 @@ import React from "react";
|
|||
import {ParamTypes} from "../../constant/ParamTypes";
|
||||
import {getTypeTable, QRPointType} from "../../utils/qrcodeHandler";
|
||||
import {createRenderer} from "../style/Renderer";
|
||||
import LinkTrace from "../link/LinkTrace";
|
||||
import RenderDSJ from "./RendererDSJ";
|
||||
|
||||
function listPoints(qrcode, params) {
|
||||
if (!qrcode) return []
|
||||
|
|
|
@ -3,7 +3,6 @@ import {ParamTypes} from "../../constant/ParamTypes";
|
|||
import {getTypeTable, QRPointType} from "../../utils/qrcodeHandler";
|
||||
import {createRenderer} from "../style/Renderer";
|
||||
import {defaultImage} from "../../constant/References";
|
||||
import {RendererRandRound} from "./RendererBase";
|
||||
|
||||
function listPoints(qrcode, params) {
|
||||
if (!qrcode) return []
|
||||
|
|
|
@ -2,8 +2,6 @@ import React from "react";
|
|||
import {ParamTypes} from "../../constant/ParamTypes";
|
||||
import {getTypeTable, QRPointType} from "../../utils/qrcodeHandler";
|
||||
import {createRenderer} from "../style/Renderer";
|
||||
import LinkTrace from "../link/LinkTrace";
|
||||
import RenderDSJ from "./RendererDSJ";
|
||||
import {rand} from "../../utils/util";
|
||||
|
||||
function listPoints(qrcode, params) {
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
import React from "react";
|
||||
import {rand} from "../../utils/util";
|
||||
import {createRenderer} from "../style/Renderer";
|
||||
import {RendererLine} from "./RendererLine";
|
||||
|
||||
function listPoints(qrcode, params) {
|
||||
if (!qrcode) return []
|
||||
|
|
|
@ -3,7 +3,6 @@ import {gamma} from "../../utils/imageUtils";
|
|||
import {ParamTypes} from "../../constant/ParamTypes";
|
||||
import {getTypeTable, QRPointType} from "../../utils/qrcodeHandler";
|
||||
import {defaultResImage} from "../../constant/References";
|
||||
import RendererRandRect from "./RendererRandRect";
|
||||
|
||||
function listPoints(qrcode, params) {
|
||||
if (!qrcode) return []
|
||||
|
|
|
@ -10,7 +10,7 @@ const ImageZoom = ({ zoom, ...other }) => {
|
|||
zoomRef.current.attach(image);
|
||||
}
|
||||
|
||||
return <img ref={attachZoom} {...other} />
|
||||
return <img alt={"zoom"} ref={attachZoom} {...other} />
|
||||
};
|
||||
|
||||
export default ImageZoom;
|
||||
|
|
Loading…
Reference in New Issue