修改密码限制手机号

main
lijingyu007 7 months ago
parent e932b79fb1
commit b8e7a1962d
  1. 4
      src/main.js
  2. 3
      src/page/personalpage/home/personalcenter.vue

@ -23,8 +23,8 @@ Vue.use(VueClipboard);
// 全局禁止log日志
// console.log = function() {
// };
console.log = function() {
};
// xss攻击

@ -197,7 +197,7 @@
</el-form-item> -->
<!-- uuid字段sex -->
<el-form-item label="手机号" prop="phonenumber">
<el-input v-model="passform.phonenumber" placeholder="请输入手机号" size="mini" />
<el-input v-model="passform.phonenumber" disabled placeholder="请输入手机号" size="mini" />
</el-form-item>
<el-form-item label="验证码" prop="remark" class="passphone">
<el-input
@ -334,6 +334,7 @@ export default {
// userinform:{nickName:'',phonenumber:'',email:'',sex:''},
// let {nickName,phonenumber,email,sex}=this.userinform
// this.userinform={nickName,phonenumber,email,sex}
this.passform.phonenumber = this.$store.getters.userinform.phonenumber
},
methods: {
setTip(val) {

Loading…
Cancel
Save