@lambo-design/login-form 1.0.0-beta.13 → 1.0.0-beta.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lambo-design/login-form",
3
- "version": "1.0.0-beta.13",
3
+ "version": "1.0.0-beta.14",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "author": "lambo",
@@ -237,6 +237,14 @@ export default {
237
237
  params.pasSm3 = this.getCryptorPassword(this.form.password,this.form.validCode,'sm3');
238
238
  }
239
239
  this.$emit('show-slide-verify', true,params)
240
+
241
+ this.setLocalUserId(this.form.userName)
242
+ if (this.rememberMe == true) {
243
+ this.setLocalStorage(this.form.userName)
244
+ }
245
+ if (this.rememberMe == false) {
246
+ this.clearLocalStorage();
247
+ }
240
248
  }else{
241
249
  this.$Message.error("请输入用户名");
242
250
  }