🎨 格式化代码.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import type { DataGrid, OrderDirection, Options, Pagination } from '@/types/global';
|
||||
import type { DataGrid, Options, OrderDirection, Pagination } from '@/types/global';
|
||||
import type { TableData } from '@arco-design/web-vue';
|
||||
import axios from 'axios';
|
||||
import qs from 'query-string';
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
|
||||
<script lang="ts">
|
||||
import { defineComponent } from 'vue';
|
||||
import { useFromEmits, useFormProps, useFormSetup } from './use-mixin';
|
||||
import { useFormProps, useFormSetup, useFromEmits } from './use-mixin';
|
||||
|
||||
export default defineComponent({
|
||||
name: 'HourForm',
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
|
||||
<script lang="ts">
|
||||
import { defineComponent } from 'vue';
|
||||
import { useFromEmits, useFormProps, useFormSetup } from './use-mixin';
|
||||
import { useFormProps, useFormSetup, useFromEmits } from './use-mixin';
|
||||
|
||||
export default defineComponent({
|
||||
name: 'MinuteForm',
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
|
||||
<script lang="ts">
|
||||
import { defineComponent } from 'vue';
|
||||
import { useFromEmits, useFormProps, useFormSetup } from './use-mixin';
|
||||
import { useFormProps, useFormSetup, useFromEmits } from './use-mixin';
|
||||
|
||||
export default defineComponent({
|
||||
name: 'MonthForm',
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
|
||||
<script lang="ts">
|
||||
import { defineComponent } from 'vue';
|
||||
import { useFromEmits, useFormProps, useFormSetup } from './use-mixin';
|
||||
import { useFormProps, useFormSetup, useFromEmits } from './use-mixin';
|
||||
|
||||
export default defineComponent({
|
||||
name: 'SecondForm',
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import type { Ref } from 'vue';
|
||||
import { reactive, ref } from 'vue';
|
||||
import type { PaginationProps } from '@arco-design/web-vue';
|
||||
import type { ColResponsiveValue, CardFieldConfig, CardField } from '@/types/card';
|
||||
import type { CardField, CardFieldConfig, ColResponsiveValue } from '@/types/card';
|
||||
import { isNumber } from '@/utils/is';
|
||||
import { useAppStore } from '@/store';
|
||||
import { CardPageSizeOptions } from '@/types/const';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import type { RouteLocationNormalized, RouteLocationRaw } from 'vue-router';
|
||||
import type { TagProps } from '@/store/modules/tab-bar/types';
|
||||
import { createRouter, createWebHistory } from 'vue-router';
|
||||
import type { TagProps } from '@/store/modules/tab-bar/types';
|
||||
import { appRoutes } from './routes';
|
||||
import { openWindow } from '@/utils';
|
||||
import { isStandaloneMode } from '@/utils/env';
|
||||
|
||||
@@ -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