Skip to content

Commit

Permalink
feat(frontend): 资源池统计视图 #6519
Browse files Browse the repository at this point in the history
# Reviewed, transaction id: 19972
  • Loading branch information
JustaCattt authored and jinquantianxia committed Oct 9, 2024
1 parent 9b7ba48 commit fcd8de7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
6 changes: 1 addition & 5 deletions dbm-ui/frontend/src/views/resource-manage/pool/Index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@
</BkTab>
<div class="pool-content">
<KeepAlive>
<Component
:is="renderComponent"
ref="comRef" />
<Component :is="renderComponent" />
</KeepAlive>
</div>
</template>
Expand Down Expand Up @@ -55,8 +53,6 @@
},
];

const comRef = ref();

const activeTab = useDebouncedRef(route.params.page);

const renderComponentMap = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
const { t } = useI18n();
const localValue = ref<string>('0');
const localValue = ref('0');
const bizList = shallowRef<
{
bk_biz_id: number;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
const emits = defineEmits<Emits>();
const citiyList = ref<CityItem[]>([]);
const cityCode = ref<string>('');
const cityCode = ref('');
const subzoneIds = ref<string[]>([]);
const renderSubzoneList = computed(() =>
(subzoneList.value || []).filter((item) => item.bk_city_code === cityCode.value),
Expand Down

0 comments on commit fcd8de7

Please sign in to comment.