1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-09-26 07:40:02 +08:00

Suppot to Lookups (#204)

* Suppot to Lookups

* Update FieldSelect.vue
This commit is contained in:
elsiosanchez 2019-12-12 18:42:57 -04:00 committed by Yamel Senih
parent 739f658fea
commit 88c6e5838a

View File

@ -81,6 +81,13 @@ export default {
}
},
watch: {
isLoading(value) {
if (value) {
this.value = ''
} else {
this.value = this.metadata.displayColumn
}
},
valueModel(value) {
if (this.metadata.inTable) {
this.value = value