zhangzengfei
2022-08-23 e37e45cfe1123928dba5d9c5a427b0ee497b7ad6
src/scripts/component.js
@@ -1,9 +1,14 @@
// 引入组件
import ImageShow from "@/components/subComponents/ImageShow.vue";
import PwInput from "@/components/subComponents/PwInput.vue";
// 创建个空对象
// 设置安装方法
ImageShow.install = function(Vue) {
  Vue.component("ImageShow", ImageShow);
};
PwInput.install = function(Vue) {
  Vue.component("PwInput", PwInput);
};
// 导出对象
export default ImageShow;
export { ImageShow, PwInput };