leisure-core 0.4.37 → 0.4.39
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/le-login/src/main.vue +5 -5
- package/package.json +1 -1
package/le-login/src/main.vue
CHANGED
|
@@ -78,8 +78,8 @@ export default {
|
|
|
78
78
|
{ required: true, message: "请输入账号(手机号)", trigger: "blur" },
|
|
79
79
|
{
|
|
80
80
|
min: 1,
|
|
81
|
-
max:
|
|
82
|
-
message: "长度在 1 到
|
|
81
|
+
max: 20,
|
|
82
|
+
message: "长度在 1 到 20 个字符",
|
|
83
83
|
trigger: "blur",
|
|
84
84
|
},
|
|
85
85
|
],
|
|
@@ -87,8 +87,8 @@ export default {
|
|
|
87
87
|
{ required: true, message: "请输入密码", trigger: "blur" },
|
|
88
88
|
{
|
|
89
89
|
min: 2,
|
|
90
|
-
max:
|
|
91
|
-
message: "长度在 1 到
|
|
90
|
+
max: 33,
|
|
91
|
+
message: "长度在 1 到 33 个字符",
|
|
92
92
|
trigger: "blur",
|
|
93
93
|
},
|
|
94
94
|
],
|
|
@@ -141,7 +141,7 @@ export default {
|
|
|
141
141
|
|
|
142
142
|
loginAfter(res) {
|
|
143
143
|
if (res.data.code == "10000") {
|
|
144
|
-
this.$store.commit("setCid", res.data.data.cid);
|
|
144
|
+
this.$store.commit("setCid", res.data.data.cid??"");
|
|
145
145
|
this.$store.commit("setUserInfo", res.data.data);
|
|
146
146
|
setToken(res.data.data.token);
|
|
147
147
|
}
|