From 0b7ea880fa1d4ab97d0f3b9febc4894a2e7c40f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=8A=93=E8=9B=99=E5=B8=88?= <770492966@qq.com> Date: Mon, 26 Aug 2024 11:18:44 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=9F=E6=88=B7=E5=AD=97=E5=85=B8=E5=90=8C?= =?UTF-8?q?=E6=AD=A5=E6=96=B9=E6=B3=95=E5=91=BD=E5=90=8D=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/dict/type/index.ts | 4 ++-- src/views/system/dict/index.vue | 11 +++++++---- src/views/system/tenant/index.vue | 11 +++++++---- 3 files changed, 16 insertions(+), 10 deletions(-) diff --git a/src/api/system/dict/type/index.ts b/src/api/system/dict/type/index.ts index 8925ed2..27906ff 100644 --- a/src/api/system/dict/type/index.ts +++ b/src/api/system/dict/type/index.ts @@ -62,9 +62,9 @@ export function optionselect(): AxiosPromise { } // 同步租户字典 -export function asyncTenantDict(tenantId?: string) { +export function syncTenantDict(tenantId?: string | number) { return request({ - url: '/system/dict/type/asyncTenantDict', + url: '/system/dict/type/syncTenantDict', method: 'get', params: { tenantId } }); diff --git a/src/views/system/dict/index.vue b/src/views/system/dict/index.vue index 5ce537d..09d67cc 100644 --- a/src/views/system/dict/index.vue +++ b/src/views/system/dict/index.vue @@ -50,7 +50,7 @@ 刷新缓存 - 同步租户字典 + 同步租户字典 @@ -112,11 +112,14 @@