代码调整

This commit is contained in:
joylink_cuiweidong 2022-09-28 17:37:22 +08:00
parent ae3c42ab29
commit 5587a3e312
2 changed files with 3 additions and 2 deletions

View File

@ -46,7 +46,7 @@ export function updateBackProjectConfig(data) {
export function saveBackProjectConfig(data) {
return request({
url: `/api/project/save`,
method: 'put',
method: 'POST',
data
});
}
@ -105,7 +105,7 @@ export function updateFrontProjectConfig(data) {
export function saveFrontProjectConfig(data) {
return request({
url: `/api/project/viewSetting/save`,
method: 'put',
method: 'POST',
data
});
}

View File

@ -99,6 +99,7 @@ export default {
this.loading = false;
});
} else {
delete data.id;
saveBackProjectConfig(data).then(resp => {
this.$message.success('创建项目成功!');
this.handleClose();