diff --git a/.env b/.env index 5f9b194ba..5b92fba34 100644 --- a/.env +++ b/.env @@ -13,5 +13,8 @@ VITE_GLOB_APP_TENANT_ENABLE = true # 验证码的开关 VITE_GLOB_APP_CAPTCHA_ENABLE = true +# 文档地址的开关 +VITE_APP_DOCALERT_ENABLE=true + # 百度统计 VITE_APP_BAIDU_CODE = eb21166668bf766b9d059a6fd1c10777 diff --git a/src/components/DocAlert/index.ts b/src/components/DocAlert/index.ts new file mode 100644 index 000000000..8ca92c87a --- /dev/null +++ b/src/components/DocAlert/index.ts @@ -0,0 +1,4 @@ +import docAlert from './src/DocAlert.vue' +import { withInstall } from '@/utils' + +export const DocAlert = withInstall(docAlert) diff --git a/src/components/DocAlert/src/DocAlert.vue b/src/components/DocAlert/src/DocAlert.vue new file mode 100644 index 000000000..70083720a --- /dev/null +++ b/src/components/DocAlert/src/DocAlert.vue @@ -0,0 +1,59 @@ + + + + \ No newline at end of file