We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
这是运行时,返回的源码 open时,用了nextTick,close时没有,导致过早调用close 无法关闭。 并且发现loading打开时,整个页面的遮罩层没有,不知道是否用法有问题? /* harmony default export */ exports["default"] = { open: function open(options) { if ( options === void 0 ) options = {};
if (!instance) { instance = new Indicator({ el: document.createElement('div') }); } if (instance.visible) return; instance.text = typeof options === 'string' ? options : options.text || ''; instance.spinnerType = options.spinnerType || 'snake'; document.body.appendChild(instance.$el); __WEBPACK_IMPORTED_MODULE_0_vue___default.a.nextTick(function () { instance.visible = true; });
},
close: function close() { if (instance) { instance.visible = false; } } };
The text was updated successfully, but these errors were encountered:
No branches or pull requests
这是运行时,返回的源码
open时,用了nextTick,close时没有,导致过早调用close 无法关闭。
并且发现loading打开时,整个页面的遮罩层没有,不知道是否用法有问题?
/* harmony default export */ exports["default"] = {
open: function open(options) {
if ( options === void 0 ) options = {};
},
close: function close() {
if (instance) {
instance.visible = false;
}
}
};
The text was updated successfully, but these errors were encountered: