YY 2 년 전
부모
커밋
49d053fffd
3개의 변경된 파일6개의 추가작업 그리고 3개의 파일을 삭제
  1. 2 1
      pagesSchool/schAdmin/coachexam/list.js
  2. 2 1
      pagesSchool/schAdmin/coursestu/list.js
  3. 2 1
      pagesSchool/schAdmin/studentexam/list.js

+ 2 - 1
pagesSchool/schAdmin/coachexam/list.js

@@ -61,7 +61,8 @@ Page({
      * 生命周期函数--监听页面隐藏
      */
     onHide: function () {
-
+        const that = this;
+        that.setData({ skip: 0, page: 0, list: [] })
     },
 
     /**

+ 2 - 1
pagesSchool/schAdmin/coursestu/list.js

@@ -82,7 +82,8 @@ Page({
      * 生命周期函数--监听页面隐藏
      */
     onHide: function () {
-
+        const that = this;
+        that.setData({ skip: 0, page: 0, list: [] })
     },
 
     /**

+ 2 - 1
pagesSchool/schAdmin/studentexam/list.js

@@ -92,7 +92,8 @@ Page({
      * 生命周期函数--监听页面隐藏
      */
     onHide: function () {
-
+        const that = this;
+        that.setData({ skip: 0, page: 0, list: [] })
     },
 
     /**