mirror of
https://gitee.com/bootx/dax-pay-ui.git
synced 2025-09-27 14:11:44 +00:00
perf: remove unless code
This commit is contained in:
@@ -1,13 +1,4 @@
|
||||
import type { VNodeChild } from 'vue';
|
||||
import type { App } from 'vue';
|
||||
|
||||
export function withInstall(...components: any[]) {
|
||||
components.forEach((comp) => {
|
||||
comp.install = (app: App) => {
|
||||
app.component(comp.displayName || comp.name, comp);
|
||||
};
|
||||
});
|
||||
}
|
||||
|
||||
export function convertToUnit(
|
||||
str: string | number | null | undefined,
|
||||
|
Reference in New Issue
Block a user