forked from floraachy/ImageKnife
1.getName的返回值中不应该使用this关键字
Signed-off-by: zhoulisheng1 <zhoulisheng1@huawei.com>
This commit is contained in:
parent
231f4cc6c3
commit
77bd473b9f
|
@ -25,7 +25,7 @@ export class CropSquareTransformation implements BaseTransform<PixelMap> {
|
|||
private static TAG: string = "CropSquareTransformation";
|
||||
|
||||
getName() {
|
||||
return CropSquareTransformation.TAG + ";CropSquareTransformation:" + this;
|
||||
return CropSquareTransformation.TAG;
|
||||
}
|
||||
|
||||
transform(buf: ArrayBuffer, request: RequestOption, func?: AsyncTransform<PixelMap>) {
|
||||
|
|
|
@ -24,7 +24,7 @@ import { GPUImageGrayscaleFilter } from '@ohos/gpu_transform'
|
|||
|
||||
export class GrayscaleTransformation implements BaseTransform<PixelMap> {
|
||||
getName() {
|
||||
return "GrayscaleTransformation:" + this;
|
||||
return "GrayscaleTransformation";
|
||||
}
|
||||
|
||||
async transform(buf: ArrayBuffer, request: RequestOption, func?: AsyncTransform<PixelMap>) {
|
||||
|
|
Loading…
Reference in New Issue