From f3ca8266054d9fa2b1b01e46162efadf4aeab848 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=B4=A4=E5=BF=83?=
<3277200+sentsim@users.noreply.github.com>
Date: Sun, 3 Jul 2022 21:32:50 +0800
Subject: [PATCH] update
---
examples/json/table/demo1.json | 39 +++++++++++++++++++++++++++++++---
examples/table-test.html | 7 ++----
src/layui.js | 6 +++---
src/modules/table.js | 23 ++++++--------------
4 files changed, 47 insertions(+), 28 deletions(-)
diff --git a/examples/json/table/demo1.json b/examples/json/table/demo1.json
index 48acb6a5..b9217e85 100644
--- a/examples/json/table/demo1.json
+++ b/examples/json/table/demo1.json
@@ -64,7 +64,7 @@
,"joinTime": "2016-10-14"
}, {
"id": "10006"
- ,"username": "贤心"
+ ,"username": "张三"
,"email": "test6@email.com"
,"sex": "男"
,"city": "浙江杭州"
@@ -75,7 +75,7 @@
,"joinTime": "2016-10-14"
}, {
"id": "10007"
- ,"username": "贤心"
+ ,"username": "张三7"
,"email": "test7@email.com"
,"sex": "男"
,"city": "浙江杭州"
@@ -86,7 +86,7 @@
,"joinTime": "2016-10-14"
}, {
"id": "10008"
- ,"username": "贤心"
+ ,"username": "张三8"
,"email": "test8@email.com"
,"sex": "男"
,"city": "浙江杭州"
@@ -95,5 +95,38 @@
,"ip": "192.168.0.8"
,"checkin": "106"
,"joinTime": "2016-10-14"
+ }, {
+ "id": "10009"
+ ,"username": "张三9"
+ ,"email": "test9@email.com"
+ ,"sex": "男"
+ ,"city": "浙江杭州"
+ ,"sign": "人生恰似一场修行"
+ ,"experience": 5
+ ,"ip": "192.168.0.8"
+ ,"checkin": "106"
+ ,"joinTime": "2016-10-14"
+ }, {
+ "id": "10010"
+ ,"username": "张三10"
+ ,"email": "test10@email.com"
+ ,"sex": "男"
+ ,"city": "浙江杭州"
+ ,"sign": "人生恰似一场修行"
+ ,"experience": 5
+ ,"ip": "192.168.0.8"
+ ,"checkin": "106"
+ ,"joinTime": "2016-10-14"
+ }, {
+ "id": "10011"
+ ,"username": "张三11"
+ ,"email": "test11@email.com"
+ ,"sex": "男"
+ ,"city": "浙江杭州"
+ ,"sign": "人生恰似一场修行"
+ ,"experience": 5
+ ,"ip": "192.168.0.8"
+ ,"checkin": "106"
+ ,"joinTime": "2016-10-14"
}]
}
\ No newline at end of file
diff --git a/examples/table-test.html b/examples/table-test.html
index fe7e75de..038c6ae2 100644
--- a/examples/table-test.html
+++ b/examples/table-test.html
@@ -63,10 +63,6 @@
-
-