From 8445d6a07870dd03048024ba9c5b9a7b9a0e2573 Mon Sep 17 00:00:00 2001 From: RuoYi Date: Sun, 13 Aug 2023 14:57:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E8=A1=A8=E6=A0=BC=E5=8F=82?= =?UTF-8?q?=E6=95=B0=EF=BC=88=E6=95=B0=E6=8D=AE=E5=80=BC=E4=B8=BA=E7=A9=BA?= =?UTF-8?q?=E6=97=B6=E6=98=BE=E7=A4=BA=E7=9A=84=E5=86=85=E5=AE=B9undefined?= =?UTF-8?q?Text=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js b/ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js index 0d6f69c03..bf50dec46 100644 --- a/ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js +++ b/ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js @@ -41,6 +41,7 @@ var table = { method: 'post', height: undefined, sidePagination: "server", + undefinedText: '-', sortName: undefined, sortOrder: "asc", pagination: true, @@ -87,6 +88,7 @@ var table = { cache: false, // 是否使用缓存 height: options.height, // 表格的高度 striped: options.striped, // 是否显示行间隔色 + undefinedText: options.undefinedText, // 数据值为空时显示的内容 sortable: true, // 是否启用排序 sortStable: true, // 设置为 true 将获得稳定的排序 sortName: options.sortName, // 排序列名称