Explorar o código

改api.js和index.vue初始化

ming %!s(int64=3) %!d(string=hai) anos
pai
achega
c02b41c418
Modificáronse 1 ficheiros con 6 adicións e 6 borrados
  1. 6 6
      pages/index/index.vue

+ 6 - 6
pages/index/index.vue

@@ -193,15 +193,15 @@
 		onLoad: function(option) {
 
 		
-			// if (option.op) {
-			// 	this.getData();
+			if (option.op) {
+				this.getData();
 			
-			// } else {
-			// 	this.init()
-			// }
+			} else {
+				this.init()
+			}
 			
 			
-			this.getData();
+			// this.getData();
 
 			this.hackReset = false;
 			this.$nextTick(() => {