我必须显示大写的给定字符串"angular“的第一个字母,也只需要显示一个字符。因此,我在angular中使用了下面的tilecase和slice管道,它工作得很好,但当我进行生产构建(ng build --prod)时,它抛出了错误Argument of type '{}[]'is not assignable to parameter of type 'string' 例如: 输入 app.component.ts: name = 'angular '
我在Joomla 2.5.2中的页面标题有问题。例如,我的站点名称是:"The big PROJECT“,并且我将参数"Include site name in page title”设置为"before“。在我的菜单项设置中,在“页面显示选项”中,我将“浏览器页面标题”设置为“主页”。当我将其设置为大写的"H“时,标题显示为:"The like - the big PROJECT - Home”。如果