js:fix image missing imageBase64 property

This commit is contained in:
pengfei.zhou 2020-03-13 18:37:26 +08:00 committed by osborn
parent 38ea6ea7d4
commit aad9029784
6 changed files with 17 additions and 0 deletions

View File

@ -1242,6 +1242,10 @@ __decorate$4([
Property,
__metadata$4("design:type", String)
], Image.prototype, "imageRes", void 0);
__decorate$4([
Property,
__metadata$4("design:type", String)
], Image.prototype, "imageBase64", void 0);
__decorate$4([
Property,
__metadata$4("design:type", Number)

View File

@ -2701,6 +2701,10 @@ __decorate$4([
Property,
__metadata$4("design:type", String)
], Image.prototype, "imageRes", void 0);
__decorate$4([
Property,
__metadata$4("design:type", String)
], Image.prototype, "imageBase64", void 0);
__decorate$4([
Property,
__metadata$4("design:type", Number)

1
doric-js/index.d.ts vendored
View File

@ -532,6 +532,7 @@ declare module 'doric/lib/src/widget/image' {
imageUrl?: string;
imagePath?: string;
imageRes?: string;
imageBase64?: string;
scaleType?: ScaleType;
isBlur?: boolean;
placeHolderImage?: string;

View File

@ -53,6 +53,7 @@ export declare class Image extends View implements IImage {
imageUrl?: string;
imagePath?: string;
imageRes?: string;
imageBase64?: string;
scaleType?: ScaleType;
isBlur?: boolean;
placeHolderImage?: string;

View File

@ -45,6 +45,10 @@ __decorate([
Property,
__metadata("design:type", String)
], Image.prototype, "imageRes", void 0);
__decorate([
Property,
__metadata("design:type", String)
], Image.prototype, "imageBase64", void 0);
__decorate([
Property,
__metadata("design:type", Number)

View File

@ -80,6 +80,9 @@ export class Image extends View implements IImage {
@Property
imageRes?: string
@Property
imageBase64?: string
@Property
scaleType?: ScaleType