import { Component, OnInit, Input } from '@angular/core'; @Component({ selector: 'rh-qrcode-display', templateUrl: './qrcode-display.component.html', styleUrls: ['./qrcode-display.component.less'] }) export class RhQrcodeDisplayComponent implements OnInit { @Input() rhData = ''; /** 是否显示二维码的值 */ @Input() rhDisplayValue = false; @Input() rhSize = 200; constructor() { // } ngOnInit(): void { // } }