优化前端复制模块.

This commit is contained in:
lijiahangmax
2024-03-17 21:25:38 +08:00
parent 2819df9c31
commit 127f4df302
16 changed files with 62 additions and 77 deletions

View File

@@ -99,10 +99,9 @@
import { connectStatusKey, connectTypeKey } from '../types/const';
import { useDictStore } from '@/store';
import { dateFormat } from '@/utils';
import useCopy from '@/hooks/copy';
import { copy } from '@/hooks/copy';
const { getDictValue } = useDictStore();
const { copy } = useCopy();
const { visible, setVisible } = useVisible();
const { loading, setLoading } = useLoading();

View File

@@ -194,7 +194,7 @@
import { Message } from '@arco-design/web-vue';
import columns from '../types/table.columns';
import useLoading from '@/hooks/loading';
import useCopy from '@/hooks/copy';
import { copy } from '@/hooks/copy';
import UserSelector from '@/components/user/user/selector/index.vue';
import HostSelector from '@/components/asset/host/selector/index.vue';
import ConnectLogClearModal from './connect-log-clear-modal.vue';
@@ -209,7 +209,6 @@
const rowSelection = useRowSelection();
const { loading, setLoading } = useLoading();
const { toOptions, getDictValue } = useDictStore();
const { copy } = useCopy();
const formModel = reactive<HostConnectLogQueryRequest>({
userId: undefined,

View File

@@ -179,7 +179,7 @@
import { Message } from '@arco-design/web-vue';
import columns from '../types/table.columns';
import useLoading from '@/hooks/loading';
import useCopy from '@/hooks/copy';
import { copy } from '@/hooks/copy';
import { permission10toString } from '@/utils/file';
import UserSelector from '@/components/user/user/selector/index.vue';
import HostSelector from '@/components/asset/host/selector/index.vue';
@@ -191,7 +191,6 @@
const rowSelection = useRowSelection();
const { loading, setLoading } = useLoading();
const { toOptions, getDictValue } = useDictStore();
const { copy } = useCopy();
const formModel = reactive<HostSftpLogQueryRequest>({
userId: undefined,