From 6e321c49468d55512d11a4861cd2d27a12799272 Mon Sep 17 00:00:00 2001 From: puhui999 Date: Mon, 27 Mar 2023 10:32:17 +0800 Subject: [PATCH 1/7] =?UTF-8?q?update:=20=E5=8E=BB=E9=99=A4=E6=B2=A1?= =?UTF-8?q?=E5=BF=85=E8=A6=81=E7=9A=84declare?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- types/global.d.ts | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/types/global.d.ts b/types/global.d.ts index 3685ffbd..5e292687 100644 --- a/types/global.d.ts +++ b/types/global.d.ts @@ -1,29 +1,29 @@ export {} declare global { - declare interface Fn { + interface Fn { (...arg: T[]): T } - declare type Nullable = T | null + type Nullable = T | null - declare type ElRef = Nullable + type ElRef = Nullable - declare type Recordable = Record + type Recordable = Record - declare type ComponentRef = InstanceType + type ComponentRef = InstanceType - declare type LocaleType = 'zh-CN' | 'en' + type LocaleType = 'zh-CN' | 'en' - declare type AxiosHeaders = + type AxiosHeaders = | 'application/json' | 'application/x-www-form-urlencoded' | 'multipart/form-data' - declare type AxiosMethod = 'get' | 'post' | 'delete' | 'put' | 'GET' | 'POST' | 'DELETE' | 'PUT' + type AxiosMethod = 'get' | 'post' | 'delete' | 'put' | 'GET' | 'POST' | 'DELETE' | 'PUT' - declare type AxiosResponseType = 'arraybuffer' | 'blob' | 'document' | 'json' | 'text' | 'stream' + type AxiosResponseType = 'arraybuffer' | 'blob' | 'document' | 'json' | 'text' | 'stream' - declare interface AxiosConfig { + interface AxiosConfig { params?: any data?: any url?: string @@ -32,17 +32,17 @@ declare global { responseType?: AxiosResponseType } - declare interface IResponse { + interface IResponse { code: string data: T extends any ? T : T & any } - declare interface PageParam { + interface PageParam { pageSize?: number pageNo?: number } - declare interface Tree { + interface Tree { id: number name: string children?: Tree[] | any[] From c105f314f5be1a9c988c67d2a10851a8382916dd Mon Sep 17 00:00:00 2001 From: puhui999 Date: Mon, 27 Mar 2023 10:34:41 +0800 Subject: [PATCH 2/7] =?UTF-8?q?update:=20=E6=B7=BB=E5=8A=A0=E7=9F=AD?= =?UTF-8?q?=E4=BF=A1=E6=B8=A0=E9=81=93=E5=88=97=E8=A1=A8=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=EF=BC=8C=E8=A7=A3=E5=86=B3=E6=89=BE=E4=B8=8D=E5=88=B0=E5=B1=9E?= =?UTF-8?q?=E6=80=A7signature?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/sms/template/index.vue | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/views/system/sms/template/index.vue b/src/views/system/sms/template/index.vue index f43b8f62..906436a5 100644 --- a/src/views/system/sms/template/index.vue +++ b/src/views/system/sms/template/index.vue @@ -166,12 +166,7 @@ width="180" :formatter="dateFormatter" /> - +