[improvement] Sku: support i18n (#4123)

This commit is contained in:
neverland
2019-08-15 19:56:29 +08:00
committed by GitHub
parent 2dc4ab147d
commit 3f39166cbc
7 changed files with 66 additions and 29 deletions
+4
View File
@@ -1,3 +1,5 @@
import lang from './lang';
import Locale from '../locale';
import Sku from './Sku';
import SkuActions from './components/SkuActions';
import SkuHeader from './components/SkuHeader';
@@ -9,6 +11,8 @@ import SkuRowItem from './components/SkuRowItem';
import skuHelper from './utils/skuHelper';
import constants from './constants';
Locale.add(lang);
Sku.SkuActions = SkuActions;
Sku.SkuHeader = SkuHeader;
Sku.SkuHeaderItem = SkuHeaderItem;