我需要减少CHARACTER_LIMIT
测试的值,因为我看不到创建长度超过 5,000 个字符的测试数据有任何意义......
const CHARACTER_LIMIT = 5000;
const NOT_ALLOWED_SIGN = '|';
@Component({
selector: 'app-example',
templateUrl: './example.component.html',
styleUrls: ['./example.scss'],
changeDetection: ChangeDetectionStrategy.OnPush
})
export class ExampleComponent {
...