fix: 修改网络组件的集群控制

This commit is contained in:
100011797 2023-06-06 14:48:22 +08:00
parent be1f0b3a48
commit fa7b64093d
1 changed files with 5 additions and 2 deletions

View File

@ -41,7 +41,7 @@
/>
</j-form-item>
</j-col>
<j-col :span="24">
<j-col :span="24" v-if="isNoCommunity">
<j-form-item
name="shareCluster"
:rules="Rules.shareCluster"
@ -1139,6 +1139,7 @@ import { cloneDeep } from 'lodash-es';
import type { FormData2Type, FormDataType } from '../type';
import { Store } from 'jetlinks-store';
import LocalAddressSelect from './LocalAddressSelect.vue';
import { isNoCommunity } from '@/utils/utils';
const route = useRoute();
const NetworkType = route.query.type as string;
@ -1441,7 +1442,9 @@ onMounted(() => {
getSupports();
getCertificates();
getResourcesCurrent();
getResourcesClusters();
if(isNoCommunity){
getResourcesClusters();
}
getDetail();
});