@ly-js/ui
Version:
`@ly-js/ui` 是基于`vue3`常用库,会在`@ly-js/element`、`@ly-js/vant`中引入
15 lines (14 loc) • 447 B
TypeScript
import 'vue';
declare module '@vue/runtime-core' {
interface ComponentCustomProperties {
$formatter: (value: any, list: Array<any>, options?: string | {
value: string;
label: string;
}) => any;
$go: (url: string, replace?: boolean) => void;
$back: (n?: number) => void;
$open: (url: string, target?: string) => void;
$fullUrl: (url: string) => string;
}
}
export {};