Specify repeated multiple output strings

How to repeat a string a specified number of times in the Anqi CMS template?

repeatThe filter can repeat a string by a specified number of times.

How to use

repeatHow to use filters:

{{obj|repeat:次数}}

For example, repeat安企CMSFor 5 times, it can be written like this:

{{"安企CMS"|repeat:5}}
# 显示结果
安企CMS安企CMS安企CMS安企CMS安企CMS

Sample Demo

{{"安企CMS"|repeat:5}}
# 显示结果
安企CMS安企CMS安企CMS安企CMS安企CMS