🎨 格式化代码.
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import { defineAsyncComponent } from 'vue';
|
||||
|
||||
// 组件
|
||||
const HostGroupGrant = defineAsyncComponent(() => import('../components/host-group-grant.vue'))
|
||||
const HostKeyGrant = defineAsyncComponent(() => import('../components/host-key-grant.vue'))
|
||||
const HostIdentityGrant = defineAsyncComponent(() => import('../components/host-identity-grant.vue'))
|
||||
const HostGroupGrant = defineAsyncComponent(() => import('../components/host-group-grant.vue'));
|
||||
const HostKeyGrant = defineAsyncComponent(() => import('../components/host-key-grant.vue'));
|
||||
const HostIdentityGrant = defineAsyncComponent(() => import('../components/host-identity-grant.vue'));
|
||||
|
||||
// 路由
|
||||
export const GrantRouteName = 'assetGrant';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { ITerminalSession, IGuacdChannel, GuacdReactiveSessionStatus } from '@/views/terminal/interfaces';
|
||||
import type { GuacdReactiveSessionStatus, IGuacdChannel, ITerminalSession } from '@/views/terminal/interfaces';
|
||||
import type { OutputPayload } from '../../types/protocol';
|
||||
import { InputProtocol, OutputProtocol } from '../../types/protocol';
|
||||
import { TerminalCloseCode, TerminalMessages } from '@/views/terminal/types/const';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import type { ITerminalChannel, ITerminalSession } from '@/views/terminal/interfaces';
|
||||
import type { InputPayload, OutputPayload, Protocol } from '@/views/terminal/types/protocol';
|
||||
import { format, InputProtocol, OutputProtocol, parse } from '@/views/terminal/types/protocol';
|
||||
import { TerminalMessages, TerminalCloseCode } from '../../types/const';
|
||||
import { TerminalCloseCode, TerminalMessages } from '../../types/const';
|
||||
import { Message } from '@arco-design/web-vue';
|
||||
|
||||
// 终端通信处理器 实现
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import type { Reactive } from 'vue';
|
||||
import { reactive } from 'vue';
|
||||
import type { ITerminalChannel, ITerminalSession, ReactiveSessionStatus, TerminalSessionTabItem, SessionHostInfo } from '@/views/terminal/interfaces';
|
||||
import type { ITerminalChannel, ITerminalSession, ReactiveSessionStatus, SessionHostInfo, TerminalSessionTabItem } from '@/views/terminal/interfaces';
|
||||
import { TerminalStatus } from '@/views/terminal/types/const';
|
||||
|
||||
// 会话基类
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
import type {
|
||||
GuacdInitConfig,
|
||||
GuacdReactiveSessionStatus,
|
||||
IGuacdChannel,
|
||||
IRdpSession,
|
||||
TerminalSessionTabItem,
|
||||
GuacdInitConfig,
|
||||
IRdpSessionClipboardHandler,
|
||||
IRdpSessionDisplayHandler,
|
||||
GuacdReactiveSessionStatus,
|
||||
IRdpSessionClipboardHandler
|
||||
TerminalSessionTabItem
|
||||
} from '@/views/terminal/interfaces';
|
||||
import type { OutputPayload } from '@/views/terminal/types/protocol';
|
||||
import { InputProtocol } from '@/views/terminal/types/protocol';
|
||||
import { TerminalMessages, fitDisplayValue, TerminalCloseCode } from '@/views/terminal/types/const';
|
||||
import { fitDisplayValue, TerminalCloseCode, TerminalMessages } from '@/views/terminal/types/const';
|
||||
import { screenshot } from '@/views/terminal/types/utils';
|
||||
import { useTerminalStore } from '@/store';
|
||||
import Guacamole from 'guacamole-common-js';
|
||||
|
||||
Reference in New Issue
Block a user