update:隐藏预览按钮

This commit is contained in:
2026-03-02 14:41:13 +08:00
parent f4808bd43e
commit 8400f81934
3 changed files with 3 additions and 3 deletions

View File

@@ -152,7 +152,7 @@ import { importSimulationPerformanceApi } from '@/api/project/task';
const props = defineProps({
taskId: {
type: Number,
type: [Number, String],
default: 0,
},
runInfo: {

View File

@@ -512,7 +512,7 @@ const actionList = ref<any>([
previewFileFun(row);
},
hide: (row: any) => {
return !row.id;
return !row.id || ['仿真任务', '仿真算例', '数据指标'].includes(currentModel.value);
},
},
// 算例的谱系图

View File

@@ -211,7 +211,7 @@ import reviewData from '@/components/taskDetail/reviewData.vue';
const emits = defineEmits(['closeFn', 'updateFn']);
const props = defineProps({
taskId: {
type: Number,
type: [Number, String],
default: 0,
},
currentTaskInfo: {