mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-08 01:06:59 +08:00
feat: improve long text display in table chart
This commit is contained in:
@@ -681,6 +681,9 @@
|
||||
"line": "Line",
|
||||
"pie": "Pie"
|
||||
},
|
||||
"sort_asc": "Ascending",
|
||||
"sort_desc": "Descending",
|
||||
"sort_none": "No Sort",
|
||||
"show_sql": "View SQL",
|
||||
"export_to": "Export As",
|
||||
"excel": "Excel",
|
||||
|
||||
@@ -681,6 +681,9 @@
|
||||
"line": "선 차트",
|
||||
"pie": "원형 차트"
|
||||
},
|
||||
"sort_asc": "오름차순",
|
||||
"sort_desc": "내림차순",
|
||||
"sort_none": "정렬 안 함",
|
||||
"show_sql": "SQL 보기",
|
||||
"export_to": "다음으로 내보내기",
|
||||
"excel": "Excel",
|
||||
|
||||
@@ -681,6 +681,9 @@
|
||||
"line": "折线图",
|
||||
"pie": "饼图"
|
||||
},
|
||||
"sort_asc": "升序",
|
||||
"sort_desc": "降序",
|
||||
"sort_none": "不排序",
|
||||
"show_sql": "查看SQL",
|
||||
"export_to": "导出为",
|
||||
"excel": "Excel",
|
||||
|
||||
@@ -118,9 +118,13 @@ export class Table extends BaseChart {
|
||||
container.style.minWidth = '100px'
|
||||
|
||||
const menuItems = [
|
||||
{ label: '降序', method: 'desc' as SortMethod, icon: 'el-icon-sort-down' },
|
||||
{ label: '升序', method: 'asc' as SortMethod, icon: 'el-icon-sort-up' },
|
||||
{ label: '不排序', method: 'none' as SortMethod, icon: 'el-icon-close' },
|
||||
{
|
||||
label: t('chat.sort_desc'),
|
||||
method: 'desc' as SortMethod,
|
||||
icon: 'el-icon-sort-down',
|
||||
},
|
||||
{ label: t('chat.sort_asc'), method: 'asc' as SortMethod, icon: 'el-icon-sort-up' },
|
||||
{ label: t('chat.sort_none'), method: 'none' as SortMethod, icon: 'el-icon-close' },
|
||||
]
|
||||
|
||||
menuItems.forEach((item) => {
|
||||
|
||||
Reference in New Issue
Block a user