第二種方法是使用ejs-locals,它允許您只通過指定檢視的路徑插入任何檢視: res.render('index', { title: 'title', content: 'index2', ...
確定! 回上一頁