修改全局的数据字典切换中英文

This commit is contained in:
qq787203167
2022-03-02 15:26:00 +08:00
parent cb423beb93
commit 97f21abbf1
3 changed files with 106 additions and 93 deletions
+2 -1
View File
@@ -31,7 +31,7 @@
</span>
<span slot="detailText" slot-scope="text,record">
<span class="text" :title="text">
{{text.length > 18?text.slice(0,17)+'...':text}}
{{text && text.length > 18?text.slice(0,17)+'...':text}}
</span>
</span>
@@ -132,6 +132,7 @@
if (res.success) {
var jsonHead = res.result
this.columns = []
// res.db_field_txt
jsonHead.forEach((res, index) => {
this.columns.push({
title: res.db_field_txt,