d0f0a991 by lihua

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

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