From 82fb1eb08e221ff3b943a54c9982b35c41746550 Mon Sep 17 00:00:00 2001 From: xingyu Date: Tue, 6 Dec 2022 20:51:02 +0800 Subject: [PATCH] fix: fileconfig --- .../src/api/infra/fileConfig/index.ts | 2 +- .../src/views/infra/fileConfig/index.vue | 26 +++++++++---------- 2 files changed, 14 insertions(+), 14 deletions(-) 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)" /> - +