Skip to content

Commit 299f20f

Browse files
author
yuchenyao
committed
修改workspaceId 传参格式
1 parent 52cc28e commit 299f20f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/src/js/module/project/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ export default {
216216
return item.id === projectData.taxonomyID;
217217
});
218218
if (this.checkName(projectList[0].dssProjectList, projectData.name, projectData.id)) return this.$Message.warning(this.$t('message.project.nameUnrepeatable'));
219-
projectData.workspaceId = this.workspaceId;
219+
projectData.workspaceId = Number(this.workspaceId);
220220
this.loading = true;
221221
if (this.actionType === 'add') {
222222
api.fetch('/dss/addProject', projectData, 'post').then(() => {

0 commit comments

Comments
 (0)