mirror of
https://github.com/thinkjs/thinkjs.git
synced 2026-01-25 14:42:47 +00:00
fix _session error in http
This commit is contained in:
parent
c7d6399598
commit
60f11df9e5
@ -616,7 +616,7 @@ export default class extends think.base {
|
||||
*/
|
||||
session(name, value) {
|
||||
think.session(this);
|
||||
let instance = this.http._session;
|
||||
let instance = this._session;
|
||||
if (name === undefined) {
|
||||
return instance.delete();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user