d0f0a991 by lihua

资源类型为数据集时资源表必填

1 parent 309831be
......@@ -1045,7 +1045,7 @@ const save = () => {
baseInfoExpand.value = true;
return;
}
if (!assetDataTableInfo.value.data) {
if (!assetDataTableInfo.value.data?.length) {
proxy.$ElMessage.error('资源类型为数据集时,必需添加资源表');
assetTableInfoExpand.value = true;
nextTick(() => {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!