remove empty-tips replace for center-tips
This commit is contained in:
@@ -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;
|
||||
Reference in New Issue
Block a user