diff --git a/.env b/.env
index 3c5303b5..424b022b 100644
--- a/.env
+++ b/.env
@@ -13,5 +13,8 @@ VITE_APP_TENANT_ENABLE=true
# 验证码的开关
VITE_APP_CAPTCHA_ENABLE=true
+# 文档地址的开关
+VITE_APP_DOCALERT_ENABLE=true
+
# 百度统计
VITE_APP_BAIDU_CODE = a1ff8825baa73c3a78eb96aa40325abc
diff --git a/package.json b/package.json
index c521cafe..9bcd5c65 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "yudao-ui-admin-vue3",
- "version": "1.8.3-snapshot",
+ "version": "2.0.0-snapshot",
"description": "基于vue3、vite4、element-plus、typesScript",
"author": "xingyu",
"private": false,
diff --git a/src/components/Descriptions/src/Descriptions.vue b/src/components/Descriptions/src/Descriptions.vue
index 06e1096a..184d95c4 100644
--- a/src/components/Descriptions/src/Descriptions.vue
+++ b/src/components/Descriptions/src/Descriptions.vue
@@ -129,7 +129,11 @@ const toggleClick = () => {
- {{ data[item.field] }}
+
+ {{
+ item.mappedField ? data[item.mappedField] : data[item.field]
+ }}
+
diff --git a/src/components/DocAlert/index.vue b/src/components/DocAlert/index.vue
index 3a3feab7..0073266c 100644
--- a/src/components/DocAlert/index.vue
+++ b/src/components/DocAlert/index.vue
@@ -22,7 +22,7 @@ const goToUrl = () => {
/** 是否开启 */
const getEnable = () => {
- return import.meta.env.VITE_APP_TENANT_ENABLE === 'true'
+ return import.meta.env.VITE_APP_DOCALERT_ENABLE !== 'false'
}