You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
786 B
26 lines
786 B
/* |
|
* @Author: 刘湘 |
|
* @Date: 2021-05-13 17:11:59 |
|
* @LastEditTime: 2023-02-23 19:38:22 |
|
* @LastEditors: weisheng |
|
* @Description: |
|
* @FilePath: \fant-mini\src\uni_modules\fant-mini\custom.d.ts |
|
* 记得注释 |
|
*/ |
|
import Vue from 'vue' |
|
|
|
import { DatePickerOptions } from './components/hd-date-picker/types' |
|
import { LoadingOptions } from './components/hd-loading/types' |
|
import { ModalOptions } from './components/hd-modal/types' |
|
import { ToastOptions } from './components/hd-toast/types' |
|
|
|
declare module 'vue/types/vue' { |
|
interface Vue { |
|
$showModal(options: ModalOptions): void |
|
$showLoading(options: LoadingOptions): void |
|
$hideLoading(): void |
|
$showDatePicker(options: DatePickerOptions): void |
|
$showToast(options: ToastOptions): void |
|
$hideToast(): void |
|
} |
|
}
|
|
|