直接把图标字符保存在变量中是不会渲染到页面的
{
name: "学习笔记",
naviIndex: "/notes",
icon: "",
},
要把 &#x 改成 \u 这样就可以循环渲染到页面
{
name: "学习笔记",
naviIndex: "/notes",
icon: "\ue633",
},