diff --git a/public/assets/js/require-backend.min.js b/public/assets/js/require-backend.min.js index 1374613d..280a0eaf 100644 --- a/public/assets/js/require-backend.min.js +++ b/public/assets/js/require-backend.min.js @@ -9780,7 +9780,7 @@ define('table',['jquery', 'bootstrap', 'moment', 'moment/locale/zh-cn', 'bootstr color = index > -1 && typeof colorArr[index] !== 'undefined' ? colorArr[index] : 'primary'; } if (!display) { - display = value.charAt(0).toUpperCase() + value.slice(1); + display = __(value.charAt(0).toUpperCase() + value.slice(1)); } var html = '' + (icon ? ' ' : '') + display + ''; if (this.operate != false) { @@ -9834,7 +9834,7 @@ define('table',['jquery', 'bootstrap', 'moment', 'moment/locale/zh-cn', 'bootstr if (value == '') return true; var color = value && typeof colorArr[value] !== 'undefined' ? colorArr[value] : 'primary'; - var display = typeof that.searchList !== 'undefined' && typeof that.searchList[value] !== 'undefined' ? that.searchList[value] : value.charAt(0).toUpperCase() + value.slice(1); + var display = typeof that.searchList !== 'undefined' && typeof that.searchList[value] !== 'undefined' ? that.searchList[value] : __(value.charAt(0).toUpperCase() + value.slice(1)); html.push('' + display + ''); }); return html.join(' '); diff --git a/public/assets/js/require-table.js b/public/assets/js/require-table.js index 9fb7f72d..d192c1a3 100644 --- a/public/assets/js/require-table.js +++ b/public/assets/js/require-table.js @@ -410,7 +410,7 @@ define(['jquery', 'bootstrap', 'moment', 'moment/locale/zh-cn', 'bootstrap-table color = index > -1 && typeof colorArr[index] !== 'undefined' ? colorArr[index] : 'primary'; } if (!display) { - display = value.charAt(0).toUpperCase() + value.slice(1); + display = __(value.charAt(0).toUpperCase() + value.slice(1)); } var html = '' + (icon ? ' ' : '') + display + ''; if (this.operate != false) { @@ -464,7 +464,7 @@ define(['jquery', 'bootstrap', 'moment', 'moment/locale/zh-cn', 'bootstrap-table if (value == '') return true; var color = value && typeof colorArr[value] !== 'undefined' ? colorArr[value] : 'primary'; - var display = typeof that.searchList !== 'undefined' && typeof that.searchList[value] !== 'undefined' ? that.searchList[value] : value.charAt(0).toUpperCase() + value.slice(1); + var display = typeof that.searchList !== 'undefined' && typeof that.searchList[value] !== 'undefined' ? that.searchList[value] : __(value.charAt(0).toUpperCase() + value.slice(1)); html.push('' + display + ''); }); return html.join(' ');