diff --git a/packages/steps/src/steps.vue b/packages/steps/src/steps.vue index cfe6f52a0..ead00f921 100644 --- a/packages/steps/src/steps.vue +++ b/packages/steps/src/steps.vue @@ -16,19 +16,19 @@ export default { props: { active: Number, icon: String, - iconClass: String, + // iconClass: String, title: String, description: String }, computed: { - computedIconClass() { - let iconName = `zan-icon-${this.icon}`; - let result = (iconClass && iconClass.split(' ')) || []; - result.push(iconName); + // computedIconClass() { + // let iconName = `zan-icon-${this.icon}`; + // let result = (iconClass && iconClass.split(' ')) || []; + // result.push(iconName); - return result; - } + // return result; + // } } }; diff --git a/src/index.js b/src/index.js index 41afa464d..12a3f124f 100644 --- a/src/index.js +++ b/src/index.js @@ -48,14 +48,14 @@ const install = function(Vue) { Vue.component(Step.name, Step); }; -auto install -if (typeof window !== 'undefined' && window.Vue) { - install(window.Vue); -} +// auto install +// if (typeof window !== 'undefined' && window.Vue) { +// install(window.Vue); +// } module.exports = { install, - version: '0.0.8', + version: '0.0.9', Button, Switch, Field,