ZZJ
2022-07-28 edef6ae8f59823258ce610c9074d32e698958b51
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 };