Skip to content

Commit 84896d2

Browse files
author
minjk-bl
committed
Edit popupcomponent to add checkmodules using function
1 parent 5d277b2 commit 84896d2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

visualpython/js/com/component/PopupComponent.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,13 @@ define([
288288
}
289289
}
290290

291+
addCheckModules(module) {
292+
if (this.config.checkModules.includes(module)) {
293+
return ;
294+
}
295+
this.config.checkModules.push(module);
296+
}
297+
291298
_bindEvent() {
292299
var that = this;
293300
// Close popup event

0 commit comments

Comments
 (0)