pages/login/index.vue
@@ -117,6 +117,14 @@ uni.onLocaleChange((e) => { this.applicationLocale = e.locale; }) this.user = uni.getStorageSync('user') if (!this.user) { this.user = { userName: '', password: '' } } }, methods:{ async onLogin() {