mirror of
https://gitee.com/dromara/Jpom.git
synced 2024-11-29 18:38:32 +08:00
fix 资产管理共享仓库新建归属到工作空间问题
This commit is contained in:
parent
3b9df2cb9d
commit
1c4f620436
@ -1,5 +1,13 @@
|
||||
# 🚀 版本日志
|
||||
|
||||
### 2.10.44.4-beta
|
||||
|
||||
### 🐞 解决BUG、优化功能
|
||||
|
||||
1. 【server】修复 资产管理共享仓库新建归属到工作空间问题(感谢@沈钊)
|
||||
|
||||
------
|
||||
|
||||
### 2.10.44.3-beta (2023-08-31)
|
||||
|
||||
### 🐞 解决BUG、优化功能
|
||||
|
@ -568,6 +568,10 @@ export default {
|
||||
repoType: 0,
|
||||
protocol: 0,
|
||||
};
|
||||
if (!this.global) {
|
||||
this.temp = { ...this.temp, workspaceId: "GLOBAL", global: true };
|
||||
}
|
||||
|
||||
this.editVisible = true;
|
||||
},
|
||||
handleAddGitee() {
|
||||
@ -614,14 +618,18 @@ export default {
|
||||
this.handleGiteeImportFormOk();
|
||||
},
|
||||
handleGiteeRepoAdd(record) {
|
||||
editRepository({
|
||||
let data = {
|
||||
repoType: 0,
|
||||
protocol: 0,
|
||||
userName: record.username,
|
||||
password: this.giteeImportForm.token,
|
||||
name: record.name,
|
||||
gitUrl: record.url,
|
||||
}).then((res) => {
|
||||
};
|
||||
if (!this.global) {
|
||||
data = { ...data, workspaceId: "GLOBAL", global: true };
|
||||
}
|
||||
editRepository(data).then((res) => {
|
||||
if (res.code === 200) {
|
||||
// 成功
|
||||
this.$notification.success({
|
||||
|
Loading…
Reference in New Issue
Block a user