优化
This commit is contained in:
@@ -133,6 +133,10 @@ export interface TemplateElement {
|
||||
locked?: boolean;
|
||||
/** 图片缩放方式,仅 type=image 时有效 */
|
||||
imageFit?: 'contain' | 'cover' | 'fill';
|
||||
/** 默认图片 URL 或 data URI;主图加载失败时使用,仅 type=image 时有效 */
|
||||
defaultImage?: string;
|
||||
/** 输出模式下内容值为空时仍渲染;条码/二维码/图片有效,默认 false */
|
||||
showWhenContentEmpty?: boolean;
|
||||
/** 文本显示格式,仅 type=text 时有效 */
|
||||
textFormat?: TextFormat;
|
||||
/** 数值/百分比/货币的小数位数,默认 2 */
|
||||
|
||||
Reference in New Issue
Block a user