diff --git a/src/components/transfer/list.vue b/src/components/transfer/list.vue
index e8e323ec8..9f5fc8bb2 100644
--- a/src/components/transfer/list.vue
+++ b/src/components/transfer/list.vue
@@ -18,7 +18,7 @@
:class="itemClasses(item)"
@click.prevent="select(item)">
- {{ showLabel(item) }}
+ {{{ showLabel(item) }}}
{{ notFoundText }}
diff --git a/test/routers/transfer.vue b/test/routers/transfer.vue
index 7b04e0cdd..a8c0ba43a 100644
--- a/test/routers/transfer.vue
+++ b/test/routers/transfer.vue
@@ -3,6 +3,7 @@
:data="data2"
:target-keys="targetKeys2"
filterable
+ :render-format="rf"
:filter-method="filterMethod"
@on-change="handleChange2">
@@ -37,6 +38,9 @@
},
filterMethod (data, query) {
return data.label.indexOf(query) > -1;
+ },
+ rf (data) {
+ return '' + data.label;
}
}
}