zhangzengfei
2023-04-10 69cfa80854939d9c62cf9c954dc83613710b2eae
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 };