Selaa lähdekoodia

主页字体模式

wkyy 2 vuotta sitten
vanhempi
commit
0af53a775a
1 muutettua tiedostoa jossa 14 lisäystä ja 14 poistoa
  1. 14 14
      pages/index/index.vue

+ 14 - 14
pages/index/index.vue

@@ -413,21 +413,21 @@
 			
 			
 		},
 		},
 		onReady() {
 		onReady() {
-			if (this.carhelp.get("getElderModeClass")) {
-				if(this.carhelp.get("getElderModeClass") == "长辈模式") {
-					this.fontMode = '1';
-				} else {
-					this.fontMode = '0';
-				}
-				API.changeFont({fontMode: this.fontMode}).then((res) => {
+			// if (this.carhelp.get("getElderModeClass")) {
+			// 	if(this.carhelp.get("getElderModeClass") == "长辈模式") {
+			// 		this.fontMode = '1';
+			// 	} else {
+			// 		this.fontMode = '0';
+			// 	}
+			// 	API.changeFont({fontMode: this.fontMode}).then((res) => {
 					
 					
-				}).catch(error => {
-					uni.showToast({
-						title: error,
-						icon: "none"
-					})
-				})
-			}
+			// 	}).catch(error => {
+			// 		uni.showToast({
+			// 			title: error,
+			// 			icon: "none"
+			// 		})
+			// 	})
+			// }
 			
 			
 			this.getUserInfo();
 			this.getUserInfo();