|
@@ -297,13 +297,13 @@ function refeshTable() {
|
|
|
*/
|
|
|
function clear() {
|
|
|
//重新加载的数据,清空
|
|
|
- if (pastList.length <= 6 && !pastListHadDone ) {
|
|
|
+ if ((pastList.length <= 6 && !pastListHadDone) || pastList.length==0) {
|
|
|
for (var i = 1; i < 7; i++) {
|
|
|
$("#past" + i).text("");
|
|
|
}
|
|
|
}
|
|
|
//重新加载的数据,清空
|
|
|
- if (currentList.length <= 12 && !currentListHadDone) {
|
|
|
+ if ((currentList.length <= 12 && !currentListHadDone) || currentList.length==0) {
|
|
|
for (var i = 1; i < 13; i++) {
|
|
|
$("#current" + i).text("");
|
|
|
}
|