diff --git a/src/utils/adopter.js b/src/utils/adopter.js index 962412fd..8a686931 100644 --- a/src/utils/adopter.js +++ b/src/utils/adopter.js @@ -127,7 +127,9 @@ export function extend(modules, methods) { for (i = modules.length - 1; i >= 0; i--) { for (key in methods) { - modules[i].prototype[key] = methods[key] + if (!modules[i].prototype[key]) { + modules[i].prototype[key] = methods[key] + } } } }