mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-04-05 19:41:40 +08:00
fix(element-plus-adapter): 只有当前没注册loading指令时才注册
This commit is contained in:
parent
ab7df6c21e
commit
8b1201626d
@ -125,7 +125,7 @@ export default {
|
||||
tMagicMessageBox.close = options.messageBox?.close;
|
||||
}
|
||||
|
||||
if (options.loading) {
|
||||
if (options.loading && !app.directive('loading')) {
|
||||
app.directive('loading', options.loading);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user