⚡ 优化前端复制模块.
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user