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 @@