fixed #438
This commit is contained in:
parent
7b7178f165
commit
aa43b8c832
4 changed files with 6 additions and 3 deletions
|
@ -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>
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
width: 150,
|
||||
align: 'center',
|
||||
render (row, column, index) {
|
||||
return `<i-button type="primary" size="small" @click="show(${index})">{{ info }}查看</i-button> <i-button type="error" size="small" @click="remove(${index})">删除</i-button>`;
|
||||
return `{{ column }}`;
|
||||
}
|
||||
}
|
||||
],
|
||||
|
@ -82,6 +82,7 @@
|
|||
mounted () {
|
||||
setTimeout(() => {
|
||||
this.info = '444';
|
||||
// this.data6[0].name = 'xxx';
|
||||
}, 3000);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue