You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let projectList =this.cacheData.filter((item) => {
208
216
returnitem.id===projectData.taxonomyID;
209
217
});
210
-
if (this.checkName(projectList[0].dwsProjectList, projectData.name, projectData.id)) returnthis.$Message.warning(this.$t('message.project.nameUnrepeatable'));
218
+
if (this.checkName(projectList[0].dssProjectList, projectData.name, projectData.id)) returnthis.$Message.warning(this.$t('message.project.nameUnrepeatable'));
if (this.checkName(projectList[0].dwsProjectList, name, this.currentProjectData.id)) returnthis.$Message.warning(this.$t('message.project.nameUnrepeatable'));
414
+
if (this.checkName(projectList[0].dssProjectList, name, this.currentProjectData.id)) returnthis.$Message.warning(this.$t('message.project.nameUnrepeatable'));
405
415
};
406
416
this.dispatch('Project:copy', copyCheckName);
407
417
} elseif (this.currentForm==='publishForm') {
@@ -493,7 +503,7 @@ export default {
493
503
this.sortType[id] = name ==='updateTime'?this.$t('message.project.updteTime') :this.$t('message.project.name')
494
504
this.dataList=this.dataList.map((item) => {
495
505
if (!id || id ===item.id) {
496
-
item.dwsProjectList=item.dwsProjectList.sort((a, b) => {
506
+
item.dssProjectList=item.dssProjectList.sort((a, b) => {
if (this.checkName(flowList[0].dwsFlowList, projectData.name, projectData.id)) returnthis.$Message.warning(this.$t('message.workflow.nameUnrepeatable'));
189
+
if (this.checkName(flowList[0].dssFlowList, projectData.name, projectData.id)) returnthis.$Message.warning(this.$t('message.workflow.nameUnrepeatable'));
0 commit comments