代码调整
This commit is contained in:
parent
ae3c42ab29
commit
5587a3e312
@ -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
|
||||
});
|
||||
}
|
||||
|
@ -99,6 +99,7 @@ export default {
|
||||
this.loading = false;
|
||||
});
|
||||
} else {
|
||||
delete data.id;
|
||||
saveBackProjectConfig(data).then(resp => {
|
||||
this.$message.success('创建项目成功!');
|
||||
this.handleClose();
|
||||
|
Loading…
Reference in New Issue
Block a user