From aaae749c1f9a693aa32fb97cb1e7ea3505ee5f8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=8D=E5=81=9A=E7=A0=81=E5=86=9C?= <599854767@qq.com> Date: Sat, 14 May 2022 09:15:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=A4=9A=E8=AF=AD=E8=A8=80?= =?UTF-8?q?=E7=BC=96=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/commonlang.js | 11 +++++ src/views/system/commonLang/index.vue | 71 ++++++++++++++++++--------- 2 files changed, 58 insertions(+), 24 deletions(-) diff --git a/src/api/system/commonlang.js b/src/api/system/commonlang.js index d7c99b4..28b5b34 100644 --- a/src/api/system/commonlang.js +++ b/src/api/system/commonlang.js @@ -56,6 +56,17 @@ export function getCommonLang(id) { method: 'get' }) } +/** + * 获取多语言配置详情 + * @param {key} + */ +export function getCommonLangByKey(key) { + return request({ + url: 'system/CommonLang/key/' + key, + method: 'get' + }) +} + /** * 删除多语言配置 diff --git a/src/views/system/commonLang/index.vue b/src/views/system/commonLang/index.vue index 77e84a3..e7c0bd8 100644 --- a/src/views/system/commonLang/index.vue +++ b/src/views/system/commonLang/index.vue @@ -3,8 +3,8 @@ * @version: (1.0) * @Author: (zr) * @Date: (2022-05-06) - * @LastEditors: (最后更新作者) - * @LastEditTime: (最后更新时间) + * @LastEditors: (zr) + * @LastEditTime: (2022-5-14) --> - --> + - + - -