2017-06-02 77 views
-1

我有一个描述符组件,并且在我的标记中,它不应该显示超文本链接。但它显示的内容像我不想要的以下内容。不显示我的超文本链接

description: 'A box that contains a label with multiple headings. Designed to be used inside a' + ' <a href="#/components/mae-box-layout">box-layout</a>.', 

他展示我说:

A box that contains a label. Designed to be used inside a <a href="#/components/mae-box-layout">box-layout</a>. 

回答

0

您正在使用的href为字符串。试试:

'A box that contains a label with multiple headings. Designed to be used inside a ' + <a href="#/components/mae-box-layout">box-layout</a>.