From 1e6b7220d7fee3666885f71535417ca6aa1a3f50 Mon Sep 17 00:00:00 2001 From: RuoYi Date: Mon, 27 Jul 2020 09:40:15 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A8=E6=A0=BC=E8=AF=B7=E6=B1=82=E6=96=B9?= =?UTF-8?q?=E5=BC=8Fmethod=E6=94=AF=E6=8C=81=E8=87=AA=E5=AE=9A=E4=B9=89?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= 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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 7c6bb058..0fc7a21e 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 @@ -38,6 +38,7 @@ var table = { var defaults = { id: "bootstrap-table", type: 0, // 0 代表bootstrapTable 1代表bootstrapTreeTable + method: 'post', height: undefined, sidePagination: "server", sortName: "", @@ -78,7 +79,7 @@ var table = { id: options.id, url: options.url, // 请求后台的URL(*) contentType: "application/x-www-form-urlencoded", // 编码类型 - method: 'post', // 请求方式(*) + method: options.method, // 请求方式(*) cache: false, // 是否使用缓存 height: options.height, // 表格的高度 striped: options.striped, // 是否显示行间隔色