diff --git a/.eslintrc.js b/.eslintrc.js index e6a7cffbb..84db110c0 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -25,7 +25,7 @@ module.exports = { 'no-new': 0 }, "globals": { - "oxygen": true, + "zanui": true, "location": true, "Swiper": true, "wysihtml5": true, diff --git a/build/bin/build-entry.js b/build/bin/build-entry.js index a3a9a1a35..41ab63eb7 100644 --- a/build/bin/build-entry.js +++ b/build/bin/build-entry.js @@ -44,15 +44,13 @@ ComponentNames.forEach(name => { })); if ([ - // directives - 'InfiniteScroll', + // directives 'Lazyload', + 'Waterfall', - // services + // services 'Dialog', - 'Toast', - 'Indicator', - 'Waterfall' + 'Toast' ].indexOf(componentName) === -1) { installTemplate.push(render(ISNTALL_COMPONENT_TEMPLATE, { name: componentName, diff --git a/docs/examples/switch.vue b/docs/examples/switch.vue index 4e8c6b519..131518236 100644 --- a/docs/examples/switch.vue +++ b/docs/examples/switch.vue @@ -17,6 +17,7 @@