|
@@ -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();
|
|
|
|
|