13 lines
350 B
TypeScript
13 lines
350 B
TypeScript
import view from "./index.vue";
|
|
import WebToolkit from "../../utils/WebToolkit";
|
|
import type { App } from "vue";
|
|
|
|
export const CenterTips = WebToolkit.withInstall(view);
|
|
CenterTips.install = (app: App) => {
|
|
app.component("CenterTips", CenterTips);
|
|
app.component("EmptyTips", CenterTips);
|
|
};
|
|
|
|
/** 兼容旧组件名。 */
|
|
export default CenterTips;
|