Commit 67fccc35 authored by afc163's avatar afc163

Add comment

parent 8e6083b7
...@@ -178,6 +178,7 @@ export function formatWan(val) { ...@@ -178,6 +178,7 @@ export function formatWan(val) {
return result; return result;
} }
// 给官方演示站点用,用于关闭真实开发环境不需要使用的特性
export function isAntdPro() { export function isAntdPro() {
return window.location.hostname === 'preview.pro.ant.design'; return window.location.hostname === 'preview.pro.ant.design';
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment