wip
This commit is contained in:
parent
831b5e53b2
commit
f2020be44e
|
|
@ -64,10 +64,10 @@
|
|||
this.languages.forEach(e => {
|
||||
let value = this.value;
|
||||
if (typeof(this.value) == 'object') {
|
||||
value = this.value[e.id];
|
||||
value = this.value[e.code];
|
||||
}
|
||||
|
||||
Vue.set(this.internalValues, e.id, value || '');
|
||||
Vue.set(this.internalValues, e.code, value || '');
|
||||
})
|
||||
this.$emit('input', this.internalValues);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
<i class="el-icon-rank"></i>
|
||||
</el-tooltip>
|
||||
|
||||
<img :src="thumbnail(item.image[{{ current_language_id() }}], 40, 40)" class="img-responsive">
|
||||
<img :src="thumbnail(item.image['{{ current_language_code() }}'], 40, 40)" class="img-responsive">
|
||||
</div>
|
||||
|
||||
<div class="right">
|
||||
|
|
|
|||
Loading…
Reference in New Issue