remove empty-tips replace for center-tips

This commit is contained in:
Timi
2026-10-12 16:29:28 +08:00
parent efd683e808
commit 5e4b7404d8
9 changed files with 58 additions and 36 deletions
+13
View File
@@ -0,0 +1,13 @@
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 const EmptyTips = CenterTips;
export default CenterTips;