Merge branch 'master' of http://106.12.13.113:3000/haier_cosmo/wms_haiwai_app
commit
9cbb2fd062
@ -0,0 +1,25 @@
|
||||
/* eslint-disable @typescript-eslint/no-unused-vars */
|
||||
/*
|
||||
* @Author: zhou lei
|
||||
* @Date: 2022-01-21 09:23:56
|
||||
* @LastEditTime: 2022-01-21 09:34:15
|
||||
* @LastEditors: zhou lei
|
||||
* @Description:
|
||||
* @FilePath: /wms_haiwai_app/types/vue-prototype.d.ts
|
||||
* 联系方式:910592680@qq.com 18669792120 科海达信息技术有限公司
|
||||
*/
|
||||
import Vue from 'vue';
|
||||
// 在 types/vue.d.ts 里 Vue 有构造函数类型
|
||||
declare module 'vue/types/vue' {
|
||||
interface Vue {
|
||||
// $myProperty: string;
|
||||
/**
|
||||
* 自定义弹窗提示
|
||||
* @param {string} msg 消息
|
||||
* @param {string} [type='toast'] 类型
|
||||
* @param {string} [title=''] 标题
|
||||
* @memberof Vue
|
||||
*/
|
||||
customToast(msg: string, type?: string = 'toast', title?: string = ''): void;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue