From c7160234ae08447ee5f3122da8d14c24ef7da3dd Mon Sep 17 00:00:00 2001 From: dshclm <3321914460@qq.com> Date: Tue, 1 Apr 2025 16:56:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E5=86=85=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/resources/templates/home/special_view.html | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/ruoyi-admin/src/main/resources/templates/home/special_view.html b/ruoyi-admin/src/main/resources/templates/home/special_view.html index ef7c746..2a4594e 100644 --- a/ruoyi-admin/src/main/resources/templates/home/special_view.html +++ b/ruoyi-admin/src/main/resources/templates/home/special_view.html @@ -413,12 +413,11 @@ success: function(res) { if (res.code == 0) { this.rightList = res.data.map(function(item) { - return { - ...item, + return Object.assign({}, item, { isExpanded: false, currentPage: 1, itemsPerPage: 5 - }; + }); }); } }.bind(this) @@ -435,12 +434,11 @@ success: function(res) { if (res.code == 0) { this.rightList = res.data.map(function(item) { - return { - ...item, + return Object.assign({}, item, { isExpanded: false, currentPage: 1, itemsPerPage: 5 - }; + }); }); } }.bind(this)