express用的4x的 刚学不懂 求解决
回复 (2)
P
app.use(expressSession({
secret : 'you_app_name',
resave : true,
saveUninitialized: true
}));
这么写试试
L
引用 p412726700这么写试试
@p412726700 可以了 写写大神
参与回复
登录后即可参与回复。登录
express用的4x的 刚学不懂 求解决
app.use(expressSession({
secret : 'you_app_name',
resave : true,
saveUninitialized: true
}));
这么写试试
@p412726700 可以了 写写大神