atr-components 0.2.244 → 0.2.245
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1890,8 +1890,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
1890
1890
|
class OssImgPipe {
|
|
1891
1891
|
constructor() {
|
|
1892
1892
|
}
|
|
1893
|
-
transform(value,
|
|
1894
|
-
return isVideoCover ? ToolsUtil.getVideoCover(value) : ToolsUtil.getOssUrl(value, needTime);
|
|
1893
|
+
transform(value, param = { isVideoCover: false, needTime: true }) {
|
|
1894
|
+
return param.isVideoCover ? ToolsUtil.getVideoCover(value) : ToolsUtil.getOssUrl(value, param.needTime);
|
|
1895
1895
|
}
|
|
1896
1896
|
}
|
|
1897
1897
|
OssImgPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: OssImgPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|