From c5949cefd2fc5cf806e53dcf020ed2c36deb180d Mon Sep 17 00:00:00 2001 From: LiLongLong <13717757313@163.com> Date: Thu, 9 Jan 2025 13:58:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components.d.ts | 7 ++ src/pages/Index/Index.vue | 2 +- src/pages/Index/Regular/Emergency.vue | 12 +-- .../components/Consumables/MoveLiquidArea.vue | 30 +++++- src/utils/getServerInfo.ts | 8 +- tsconfig.app.json | 10 +- tsconfig.app.tsbuildinfo | 119 ++++++++++++++++++++- tsconfig.node.json | 2 + 8 files changed, 173 insertions(+), 17 deletions(-) diff --git a/components.d.ts b/components.d.ts index 69da677..e21917d 100644 --- a/components.d.ts +++ b/components.d.ts @@ -10,7 +10,11 @@ declare module 'vue' { ElButton: typeof import('element-plus/es')['ElButton'] ElFooter: typeof import('element-plus/es')['ElFooter'] ElHeader: typeof import('element-plus/es')['ElHeader'] + ElIcon: typeof import('element-plus/es')['ElIcon'] + ElInput: typeof import('element-plus/es')['ElInput'] ElPopover: typeof import('element-plus/es')['ElPopover'] + ElTable: typeof import('element-plus/es')['ElTable'] + ElTableColumn: typeof import('element-plus/es')['ElTableColumn'] ErrorModal: typeof import('./src/components/dialogs/ErrorModal.vue')['default'] Keyboard: typeof import('./src/components/Keyboard.vue')['default'] RouterLink: typeof import('vue-router')['RouterLink'] @@ -18,4 +22,7 @@ declare module 'vue' { SimpleKeyboard: typeof import('./src/components/SimpleKeyboard.vue')['default'] StackInfoModal: typeof import('./src/components/dialogs/StackInfoModal.vue')['default'] } + export interface ComponentCustomProperties { + vLoading: typeof import('element-plus/es')['ElLoadingDirective'] + } } diff --git a/src/pages/Index/Index.vue b/src/pages/Index/Index.vue index 0eca806..2d1cec6 100644 --- a/src/pages/Index/Index.vue +++ b/src/pages/Index/Index.vue @@ -82,7 +82,7 @@