From 60f11df9e5a129e47d8906ea6fc0bea296ba8583 Mon Sep 17 00:00:00 2001 From: lichengyin Date: Wed, 21 Oct 2015 10:49:57 +0800 Subject: [PATCH] fix _session error in http --- src/core/http.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/http.js b/src/core/http.js index ef04716e..46de0cb7 100644 --- a/src/core/http.js +++ b/src/core/http.js @@ -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(); }