leisure-core 0.5.89 → 0.5.91
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-home/src/main.vue +5 -0
- package/package.json +1 -1
package/le-home/src/main.vue
CHANGED
|
@@ -115,6 +115,9 @@
|
|
|
115
115
|
autocomplete="off"
|
|
116
116
|
></el-input>
|
|
117
117
|
</el-form-item>
|
|
118
|
+
<el-form-item label="昵称" prop="nick">
|
|
119
|
+
<el-input v-model="ruleForm.nick" autocomplete="off"></el-input>
|
|
120
|
+
</el-form-item>
|
|
118
121
|
</el-form>
|
|
119
122
|
<div
|
|
120
123
|
ref="pwdref"
|
|
@@ -210,6 +213,7 @@ export default {
|
|
|
210
213
|
ruleForm: {
|
|
211
214
|
pwd: "",
|
|
212
215
|
confirmPwd: "",
|
|
216
|
+
nick: this.$store.getters.userinfo.nick,
|
|
213
217
|
},
|
|
214
218
|
rules: {
|
|
215
219
|
pwd: [{ validator: validatePass, trigger: "blur" }],
|
|
@@ -326,6 +330,7 @@ export default {
|
|
|
326
330
|
pwd: this.ruleForm.pwd,
|
|
327
331
|
confirmPwd: this.ruleForm.confirmPwd,
|
|
328
332
|
uid: this.changeUid,
|
|
333
|
+
nick: this.ruleForm.nick,
|
|
329
334
|
};
|
|
330
335
|
this.$emit("userChangePwd", params, this.changePwdAfter);
|
|
331
336
|
} else {
|