提交 result 组件

This commit is contained in:
就眠儀式
2022-01-30 18:19:12 +08:00
parent 1bda3dd8cd
commit 6a1997f706
10 changed files with 149 additions and 9 deletions

View File

@@ -1,9 +1,8 @@
import type { App } from "vue";
import Component from "./index.vue";
import type { IDefineComponent } from "../../types/index";
Component.install = (app: App) => {
app.component(Component.name || "LayRate", Component);
app.component(Component.name, Component);
};
export default Component as IDefineComponent;
export default Component;