mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-11-15 04:00:00 +08:00
feat: 容器列表缓存是否显示应用商店容器 (#6599)
Some checks failed
sync2gitee / repo-sync (push) Failing after -9m27s
Some checks failed
sync2gitee / repo-sync (push) Failing after -9m27s
Refs #5885
This commit is contained in:
parent
157fff8481
commit
4f1bdf5338
1 changed files with 3 additions and 0 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue