Commit ac41cb1c authored by arvin's avatar arvin

组件调整

parent 0eb4097b
......@@ -5,7 +5,7 @@
v-for="(item,i) in warehouseOptions"
:key="i"
:label="item.extname"
:value="item.id"
:value="item.id + ''"
/>
</el-select>
......@@ -108,11 +108,9 @@ export default {
let item = null
if (this.dataType === 'string') {
this.$emit('input', this.cloneValue)
this.$emit('change', this.cloneValue)
} else {
item = this.warehouseOptions.find(r => r.id === this.cloneValue)
this.$emit('input', item)
this.$emit('change', item)
}
this.syncOut(item)
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment