a770d4a0 by lihua

fix

1 parent 9bfbdc4a
......@@ -1323,6 +1323,9 @@ onBeforeMount(async () => {
})
}
if (detailType && detailType != 'add') {
getProductDetail();
}
if (detailType == 'detail') {
getParamsList({
dictType: "数据产品上架审批合规信息",
}).then((res: any) => {
......@@ -1332,11 +1335,9 @@ onBeforeMount(async () => {
proxy.$ElMessage.error(res.msg);
}
})
getProductDetail();
}
if (detailType == 'detail') {
return; //详情不需要调用以下接口
// return; //详情不需要调用以下接口
}
if (detailType != 'detail') {
await getTableData();
if (route.query.exchangeGuid) {
getTableInfo();
......@@ -1349,6 +1350,7 @@ onBeforeMount(async () => {
return parentAreaData.value;
}
})
}
// getApproveData();
getParamsDataList({ dictType: '资产类型' }).then((res: any) => {
if (res.code == proxy.$passCode) {
......@@ -1386,6 +1388,7 @@ onBeforeMount(async () => {
proxy.$ElMessage.error(res.msg);
}
})
if (detailType != 'detail') {
getParamsList({
dictType: "数据资产目录主题名称",
}).then((res: any) => {
......@@ -1437,6 +1440,7 @@ onBeforeMount(async () => {
})
}, 0);
}
}
})
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!