修改禅道已知bug

This commit is contained in:
qq787203167
2022-03-30 18:24:20 +08:00
parent f4171498df
commit d9085de04c
2 changed files with 22 additions and 1 deletions
@@ -31,6 +31,11 @@
{{text && text.length > 18?text.slice(0,17)+'...':text}}
</a>
</span>
<span slot="urlClick" slot-scope="text,record">
<a class="text" :title="text" @click="urlClick(record)">
{{text && text.length > 18?text.slice(0,17)+'...':text}}
</a>
</span>
<span slot="detailText" slot-scope="text,record">
<span class="text" :title="text">
{{text && text.length > 18?text.slice(0,17)+'...':text}}
@@ -148,6 +153,10 @@
this.columns[index].scopedSlots = {
customRender: 'detailClick'
}
} else if (res.urlClick) {
this.columns[index].scopedSlots = {
customRender: 'urlClick'
}
} else {
this.columns[index].scopedSlots = {
customRender: 'detailText'
@@ -221,6 +230,9 @@
},
detailClick(item, index) {
this.$emit('detailClick', item)
},
urlClick(item) {
window.open(item.shu1_ru4_kuang4_lian4_jie1)
}
}
}