修改配置.

This commit is contained in:
lijiahangmax
2023-09-24 22:08:33 +08:00
parent fdc3bc6147
commit f6dd01f017
13 changed files with 2512 additions and 1290 deletions

View File

@@ -26,7 +26,7 @@
label="用户名"
:rules="usernameRules"
label-col-flex="60px"
:help="AuthTypeEnum.IDENTITY.value === formModel.authType ? '将使用主机身份的用户名' : null">
:help="AuthTypeEnum.IDENTITY.value === formModel.authType ? '将使用主机身份的用户名' : undefined">
<a-input v-model="formModel.username"
:disabled="AuthTypeEnum.IDENTITY.value === formModel.authType"
placeholder="请输入用户名" />

View File

@@ -157,7 +157,7 @@
<script lang="ts" setup>
import { reactive, ref } from 'vue';
import { deleteHost, getHostPage, HostQueryRequest, HostQueryResponse } from '@/api/asset/host';
import { Message } from '@arco-design/web-vue';
import { Message, PaginationProps } from '@arco-design/web-vue';
import useLoading from '@/hooks/loading';
import columns from '../types/table.columns';
import { tagColor } from '../types/const';
@@ -170,11 +170,11 @@
import { useCacheStore } from '@/store';
const tagSelector = ref();
const tableRenderData = ref<HostQueryResponse[]>();
const tableRenderData = ref<HostQueryResponse[]>([]);
const { loading, setLoading } = useLoading();
const emits = defineEmits(['openAdd', 'openUpdate', 'openUpdateConfig']);
const pagination = reactive(defaultPagination());
const pagination = reactive<PaginationProps>(defaultPagination());
const { copy } = useCopy();
const { toggle: toggleFavorite } = useFavorite('HOST');