diff --git a/client/lib/bull.js b/client/lib/bull.js index e683d8f5bc..57d66e027e 100644 --- a/client/lib/bull.js +++ b/client/lib/bull.js @@ -809,6 +809,7 @@ var Bull = Bull || {}; * @param {Bool} wait True be default. Set false if no need parent view wait for nested view loaded. */ createView: function (key, viewName, options, callback, wait) { + this.clearView(key); return new Promise(function (resolve) { wait = (typeof wait === 'undefined') ? true : wait; var context = this;