我正在尝试向 ui-sref 添加参数。如果我尝试这个,它会完美运行
<a ui-sref="services.test({ id: 2 , other_id: 3 })">test</a>
但是如果我尝试这个它不起作用
<a ui-sref="services.test({ id: firstexmple , other_id: secondone })">test</a>
我正在尝试向 ui-sref 添加参数。如果我尝试这个,它会完美运行
<a ui-sref="services.test({ id: 2 , other_id: 3 })">test</a>
但是如果我尝试这个它不起作用
<a ui-sref="services.test({ id: firstexmple , other_id: secondone })">test</a>