update:隐藏预览按钮
This commit is contained in:
@@ -152,7 +152,7 @@ import { importSimulationPerformanceApi } from '@/api/project/task';
|
||||
|
||||
const props = defineProps({
|
||||
taskId: {
|
||||
type: Number,
|
||||
type: [Number, String],
|
||||
default: 0,
|
||||
},
|
||||
runInfo: {
|
||||
|
||||
@@ -512,7 +512,7 @@ const actionList = ref<any>([
|
||||
previewFileFun(row);
|
||||
},
|
||||
hide: (row: any) => {
|
||||
return !row.id;
|
||||
return !row.id || ['仿真任务', '仿真算例', '数据指标'].includes(currentModel.value);
|
||||
},
|
||||
},
|
||||
// 算例的谱系图
|
||||
|
||||
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user