refactor: 工作空间查询项目传如workspaceid

This commit is contained in:
Captain.B 2021-06-11 18:16:34 +08:00 committed by 刘瑞斌
parent b75e52122a
commit 56c951d9f3
1 changed files with 1 additions and 0 deletions

View File

@ -487,6 +487,7 @@ export default {
this.list(); this.list();
}, },
list() { list() {
this.condition.workspaceId = getCurrentWorkspaceId();
let url = "/project/list/" + this.currentPage + '/' + this.pageSize; let url = "/project/list/" + this.currentPage + '/' + this.pageSize;
this.result = this.$post(url, this.condition, (response) => { this.result = this.$post(url, this.condition, (response) => {
let data = response.data; let data = response.data;