diff --git a/yudao-ui-admin-vue3/src/api/infra/fileConfig/index.ts b/yudao-ui-admin-vue3/src/api/infra/fileConfig/index.ts index 9eca933c2..2151141cd 100644 --- a/yudao-ui-admin-vue3/src/api/infra/fileConfig/index.ts +++ b/yudao-ui-admin-vue3/src/api/infra/fileConfig/index.ts @@ -42,7 +42,7 @@ export const getFileConfigApi = (id: number) => { // 更新文件配置为主配置 export const updateFileConfigMasterApi = (id: number) => { - return request.get({ url: '/infra/file-config/update-master?id=' + id }) + return request.put({ url: '/infra/file-config/update-master?id=' + id }) } // 新增文件配置 diff --git a/yudao-ui-admin-vue3/src/views/infra/fileConfig/index.vue b/yudao-ui-admin-vue3/src/views/infra/fileConfig/index.vue index 6741658c5..8312a2f96 100644 --- a/yudao-ui-admin-vue3/src/views/infra/fileConfig/index.vue +++ b/yudao-ui-admin-vue3/src/views/infra/fileConfig/index.vue @@ -35,12 +35,7 @@ @click="handleMaster(row)" /> - +