USER-20230908AJ\Administrator 1 éve
szülő
commit
ea9e03f922
1 módosított fájl, 6 hozzáadás és 1 törlés
  1. 6 1
      pages/index/index.vue

+ 6 - 1
pages/index/index.vue

@@ -72,7 +72,7 @@
 		data() {
 			return {
 				modelTime: this.$tools.getDate('-'),
-				indexTime: this.$tools.getDate(),
+				indexTime: this.$tools.getDate('-'),
 				is_admin: false,
 				scrollTop: 0,
 				topNavHeight: 0,
@@ -107,6 +107,11 @@
         total: null
 			}
 		},
+    watch:{
+      'modelTime':function () {
+        this.startList()
+      }
+    },
 		onLoad() {
 			uni.hideTabBar()
       uni.$on('newReceiving', () => {