提交 0ae564e4 编写于 作者: B baiy 提交者: ninecents

update package

上级 6208b271
此差异已折叠。
......@@ -16,7 +16,7 @@
<Icon type="ios-arrow-down"></Icon>
</a>
<DropdownMenu slot="list">
<DropdownItem v-for="(v,i) in generateHistory.lists()" :v-key="i" :name="i">{{substr(v.input)}}</DropdownItem>
<DropdownItem v-for="(v,i) in generateHistory.lists()" :key="i" :name="i">{{substr(v.input)}}</DropdownItem>
<DropdownItem divided name="clear">清空历史记录</DropdownItem>
</DropdownMenu>
</Dropdown>
......
......@@ -20,7 +20,7 @@
<FormItem>
<Input v-model="poor">
<Select transfer v-model="current.poor.unit" slot="append" style="width: 60px">
<Option v-for="v in poorUnit" :value="v.v" :v-key="v.v">{{v.n}}</Option>
<Option v-for="v in poorUnit" :value="v.v" :key="v.v">{{v.n}}</Option>
</Select>
</Input>
</FormItem>
......@@ -44,7 +44,7 @@
<FormItem>
<Input v-model="current.duration.length" type="number" number>
<Select transfer v-model="current.duration.unit" slot="append" style="width: 60px">
<Option v-for="v in poorUnit" :value="v.v" :v-key="v.v">{{v.n}}</Option>
<Option v-for="v in poorUnit" :value="v.v" :key="v.v">{{v.n}}</Option>
</Select>
</Input>
</FormItem>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册