作者:君君-你好 | 来源:互联网 | 2023-08-31 19:36
对象
1
| var menu = [{ link: "1", title: "1", path: "1" }, { link: "2", title: "2", path: "2" }, { link: "3", title: "3", path: "3" }, { link: "4", title: "4", path: "4" }]; |
menu.path和menu.title的都能正确获取到值,router-link上的menu.link应该怎么写?