This commit is contained in:
梁灏 2017-03-30 09:48:47 +08:00
parent 7b7178f165
commit aa43b8c832
4 changed files with 6 additions and 3 deletions

View file

@ -194,7 +194,7 @@
<template>
<div>
<i-select v-model="d" filterable style="width: 200px" multiple>
<i-option v-for="e in uList" :value="e.id" :label="e.name">
<i-option :key="e" v-for="e in uList" :value="e.id" :label="e.name">
<span>{{ e.name }}</span>
<span style="float:right;color:#ccc">{{ e.id }}</span>
</i-option>