From ea9b2ddb6c523088b4800337478ffa0bac880766 Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期四, 26 十月 2023 15:50:03 +0800
Subject: [PATCH] #
---
src/main/webapp/views/console.html | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/main/webapp/views/console.html b/src/main/webapp/views/console.html
index f03c349..a77e633 100644
--- a/src/main/webapp/views/console.html
+++ b/src/main/webapp/views/console.html
@@ -671,11 +671,11 @@
success:function (res) {
if(res.code === 200){
let data = JSON.parse(res.data)
- if(data.length<=5){
- that.codeList1 = data
+ if (data.length <= 5) {
+ that.codeList1 = data;
} else {
- tData1 = data.slice(0,5)
- tData2 = data.splice(5,10)
+ that.codeList1 = data.slice(0, 5);
+ that.codeList2 = data.splice(5, 10);
}
}
}
--
Gitblit v1.9.1