@@ -296,7 +289,6 @@ import { Container } from '@/api/interface/container';
import { routerToFileWithPath } from '@/utils/router';
import { MsgSuccess } from '@/utils/message';
import { computeCPU, computeSize2, computeSizeForDocker } from '@/utils/util';
-import { Search } from '@element-plus/icons-vue';
const data = ref
([]);
const loading = ref(false);
@@ -351,6 +343,14 @@ const loadFrom = (row: any) => {
}
};
+const loadTableHeight = () => {
+ if (currentCompose.value.createdBy === '1Panel') {
+ return `calc(100vh - 120px)`;
+ } else {
+ return `calc(100vh - 240px)`;
+ }
+};
+
const search = async (withRefreshDetail?: boolean) => {
if (!isActive.value || !isExist.value) {
return;