When using angular, when using a loop to get the configuration data,
An error will be reported
It’s because ui-sref is initialized to be empty. How to modify it?
First of all, take a look at this item.url
的值是什么, 路由配置那里有 沒有配置這個(gè) 值對(duì)應(yīng)的 state
Let’s post the picture below