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) --> - --> + - + - -