2017-06-02 104 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>.