feat: 容器列表缓存是否显示应用商店容器 (#6599)
Some checks failed
sync2gitee / repo-sync (push) Failing after -9m27s

Refs #5885
This commit is contained in:
ssongliu 2024-09-27 17:25:37 +08:00 committed by GitHub
parent 157fff8481
commit 4f1bdf5338
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -516,6 +516,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;
@ -798,6 +799,8 @@ const buttons = [
];
onMounted(() => {
let includeItem = localStorage.getItem('includeAppStore');
includeAppStore.value = !includeItem || includeItem === 'true';
loadStatus();
});
</script>