UNPKG

py-uni

Version:

py-uni

46 lines (41 loc) 1.35 kB
declare module "*.vue" { import Vue from 'vue' export default Vue } declare module 'vue/types/vue' { interface Vue { $py: $py, $servers: $servers, onLinkTo: any, } } declare interface $py { dateFormat?: string , // 时间转换 TimeStratification?: string, // 时间取整 返回[2020-02-27 00:00:00,2020-02-27 23:59:59] scanCode?: string, // 扫码 PasswordLogin?: string, // 密码登录 MobLogin?: string, // 手机短信登录 VerifyMob?: string, // 验证手机,验证码是否合法 VerifyParams?: string, // 验证参数是否为空 WxLogin?: string, // 微信登录(公众号或小程序) trim?: string, // 去除空格 deepMerge?: string, // 对象深度拷贝 deepClone?: string, // 对象和数组的深度克隆 onLinkTo?: string, // 跳转 check?: string, // 校验数据规则 request?: string, // 请求 get?: string, // get请求 post?: string, // post请求 } declare interface $servers { AuthManagerService?: string, Message?: string, AuthorizeService?: string, ContentMgeService?: string, ContentTypeMgeService?: string, FillInItemInstanceMgeService?: string, ReportDataMgeService?: string, ReportMgeService?: string, StatisticalMgeService?: string, urgeReportMgeService?: string }