dever 6 years ago
parent
commit
2853ea6992
1 changed files with 4 additions and 3 deletions
  1. 4 3
      assets/dever/core.js

+ 4 - 3
assets/dever/core.js

@@ -373,12 +373,13 @@ var _Dever_Page =
                 if ($(loading).length) {
                     $(loading).show();
                 }
-                if (this.state) {
+                var self = this;
+                if (self.state) {
                     return;
                 }
-                this.state = true;
+                self.state = true;
                 $.get(url, function(t) {
-                    this.state = false;
+                    self.state = false;
                     t = '<div>' + t + '</div>';
                     var c = $(t).find(key).html();
                     if ($(loading).length) {