TypeError: /www/wwwroot/xiyashiji.com/frontend/pc/views/error.html:320
318| <%- include('./loading.html') %>
319| <!-- 头部 -->
>> 320| <%- include('./top.html') %>
321|
322|
323| <div id="main">
/www/wwwroot/xiyashiji.com/frontend/pc/views/top.html:6
4| <div class="msg-list flex flex-center">
5| <span class="iconfont iconxiaoxi"></span>
>> 6| <a href="/notice.html">最新公告:<%= publicData.notice.title %></a>
7| </div>
8| <div class="login-area flex-center">
9| <% if(username){ %>
Cannot read property 'title' of undefined
at eval (/www/wwwroot/xiyashiji.com/frontend/pc/views/top.html:12:44)
at top (/www/wwwroot/xiyashiji.com/frontend/pc/node_modules/ejs/lib/ejs.js:656:17)
at include (/www/wwwroot/xiyashiji.com/frontend/pc/node_modules/ejs/lib/ejs.js:654:39)
at eval (/www/wwwroot/xiyashiji.com/frontend/pc/views/error.html:15:17)
at error (/www/wwwroot/xiyashiji.com/frontend/pc/node_modules/ejs/lib/ejs.js:656:17)
at tryHandleCache (/www/wwwroot/xiyashiji.com/frontend/pc/node_modules/ejs/lib/ejs.js:254:36)
at View.exports.renderFile [as engine] (/www/wwwroot/xiyashiji.com/frontend/pc/node_modules/ejs/lib/ejs.js:459:10)
at View.render (/www/wwwroot/xiyashiji.com/frontend/pc/node_modules/express/lib/view.js:135:8)
at tryRender (/www/wwwroot/xiyashiji.com/frontend/pc/node_modules/express/lib/application.js:640:10)
at Function.render (/www/wwwroot/xiyashiji.com/frontend/pc/node_modules/express/lib/application.js:592:3)