From 67fccc35293a4b88bd1deab5e8317fb1bf4e4a73 Mon Sep 17 00:00:00 2001 From: afc163 Date: Fri, 2 Nov 2018 11:31:21 +0800 Subject: [PATCH] Add comment --- src/utils/utils.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/utils/utils.js b/src/utils/utils.js index 3c795c22..ea99be3b 100644 --- a/src/utils/utils.js +++ b/src/utils/utils.js @@ -178,6 +178,7 @@ export function formatWan(val) { return result; } +// 给官方演示站点用,用于关闭真实开发环境不需要使用的特性 export function isAntdPro() { return window.location.hostname === 'preview.pro.ant.design'; } -- GitLab