【发布时间】:2018-04-03 17:44:18
【问题描述】:
我有这段代码,我想选择每个部分的标签,因为它们是随代码自动生成的。如果我将“WineName”选择为“Wine Name”,则不会发生任何事情。
var type = t.enums({
type1: 'Red',
type2: 'Rosé',
type3: 'White'
});
var FichaUm = t.struct({
WineName: t.String,
harvest: harvest,
type: type,
producername: t.String,
country: country,
zone: t.String
});
【问题讨论】:
标签: android ios react-native mobile tcomb