Browse Source

修复使用pjax重复刷新页面可能导致 Dcat.init监 听失效问题

jqh 4 years ago
parent
commit
aa95e8bc09

+ 1 - 1
resources/assets/dcat/js/Dcat.js

@@ -112,7 +112,7 @@ export default class Dcat {
                 }
             };
 
-        self.onPjaxComplete(clear, true);
+        $document.one('pjax:loaded', clear);
         $document.one('init:off', clear);
 
         clear();

File diff suppressed because it is too large
+ 0 - 0
resources/dist/dcat/js/dcat-app.js


File diff suppressed because it is too large
+ 0 - 0
resources/dist/dcat/js/dcat-app.js.map


Some files were not shown because too many files changed in this diff