|
@@ -55,6 +55,7 @@ import Steps from '../packages/steps/index.js';
|
|
import Step from '../packages/step/index.js';
|
|
import Step from '../packages/step/index.js';
|
|
|
|
|
|
const install = function(Vue) {
|
|
const install = function(Vue) {
|
|
|
|
+ /* istanbul ignore next */
|
|
if (install.installed) return;
|
|
if (install.installed) return;
|
|
|
|
|
|
Vue.component(Pagination.name, Pagination);
|
|
Vue.component(Pagination.name, Pagination);
|
|
@@ -119,7 +120,7 @@ const install = function(Vue) {
|
|
Vue.prototype.$message = Message;
|
|
Vue.prototype.$message = Message;
|
|
};
|
|
};
|
|
|
|
|
|
-// auto install
|
|
|
|
|
|
+/* istanbul ignore next */
|
|
if (typeof window !== 'undefined' && window.Vue) {
|
|
if (typeof window !== 'undefined' && window.Vue) {
|
|
install(window.Vue);
|
|
install(window.Vue);
|
|
};
|
|
};
|