feat: 容器列表缓存是否显示应用商店容器 (#6667)

Refs #5885
This commit is contained in:
ssongliu 2024-10-10 10:38:59 +08:00 committed by GitHub
parent b091c7f364
commit 903f8ed5a7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -423,6 +423,7 @@ const dialogRenameRef = ref();
const dialogPruneRef = ref();
const search = async (column?: any) => {
localStorage.setItem('includeAppStore', includeAppStore.value ? 'true' : 'false');
let filterItem = props.filters ? props.filters : '';
paginationConfig.orderBy = column?.order ? column.prop : paginationConfig.orderBy;
paginationConfig.order = column?.order ? column.order : paginationConfig.order;
@ -767,6 +768,8 @@ const buttons = [
];
onMounted(() => {
let includeItem = localStorage.getItem('includeAppStore');
includeAppStore.value = !includeItem || includeItem === 'true';
loadStatus();
});
</script>