錯誤消息:Can’t bind to ‘routerLink’ since it isn’t a known property of ‘a’

由此可見,傳入cxUrl的model,字段應該是code才對,而不是productCode:
改成code之後就ok了:a tag裡可以生成期望的href屬性了:
錯誤消息:Can’t bind to ‘routerLink’ since it isn’t a known property of ‘a’
由此可見,傳入cxUrl的model,字段應該是code才對,而不是productCode:
改成code之後就ok了:a tag裡可以生成期望的href屬性了: