From 48e82c6af4f634380bc198bf8dfe01f733f78e01 Mon Sep 17 00:00:00 2001 From: wangyouworld Date: Thu, 13 Apr 2023 15:28:22 +0800 Subject: [PATCH] =?UTF-8?q?datatables=20=E6=9C=AC=E5=9C=B0=E5=8C=96?= =?UTF-8?q?=E5=AD=97=E5=85=B8=E6=9B=B4=E6=96=B0=20via=20glacier0315?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AdminLTE-3.x/dict.txt | 12 +- AdminLTE-3.x/pages/tables/data.html | 5 +- AdminLTE-3.x/plugins/datatables/i18n/zh-cn.js | 190 ++++++++++++++++++ .../plugins/datatables/i18n/zh_cn.json | 183 +++++++++++++++++ 4 files changed, 379 insertions(+), 11 deletions(-) create mode 100644 AdminLTE-3.x/plugins/datatables/i18n/zh-cn.js create mode 100644 AdminLTE-3.x/plugins/datatables/i18n/zh_cn.json diff --git a/AdminLTE-3.x/dict.txt b/AdminLTE-3.x/dict.txt index 18bc6031..3388ffc6 100644 --- a/AdminLTE-3.x/dict.txt +++ b/AdminLTE-3.x/dict.txt @@ -2790,10 +2790,8 @@ Friends 好友 Sign out 退出 -$("#example1").DataTable(); -$("#example1").DataTable({"language": {"url": "../../plugins/datatables/Chinese.json"}}); -$("#example2").DataTable({ -$("#example2").DataTable({"language": {"url": "../../plugins/datatables/Chinese.json"}, + + $("#jsGrid1").jsGrid({ @@ -3278,10 +3276,6 @@ Cancel upload 上传 取消 删除 -$("#example1").DataTable({ -$("#example1").DataTable({"language": {"url": "../../plugins/datatables/Chinese.json"}, -$('#example2').DataTable({ -$('#example2').DataTable({"language": {"url": "../../plugins/datatables/Chinese.json"}, Sparklines 迷你图 Launch Error Toast @@ -3325,4 +3319,4 @@ value="兰晓龙" https://adminlte.io/docs/3.1 /AdminLTE/AdminLTE-3.x/docs checked data-bootstrap-switch -data-bootstrap-switch data-on-text="开启" data-off-text="关闭" \ No newline at end of file +data-bootstrap-switch data-on-text="开启" data-off-text="关闭" diff --git a/AdminLTE-3.x/pages/tables/data.html b/AdminLTE-3.x/pages/tables/data.html index c4ec0395..a4c17c51 100644 --- a/AdminLTE-3.x/pages/tables/data.html +++ b/AdminLTE-3.x/pages/tables/data.html @@ -1765,6 +1765,7 @@

带有默认功能的数据表格

+ @@ -1783,11 +1784,11 @@

带有默认功能的数据表格