Browse Source

账号管理,修改账号姓名提示优化

soft5566 3 years ago
parent
commit
3a21d32cf2
2 changed files with 3 additions and 4 deletions
  1. 1 2
      src/views/accountMgr/index.vue
  2. 2 2
      src/views/index/index.vue

+ 1 - 2
src/views/accountMgr/index.vue

@@ -125,7 +125,7 @@
 						maxlength="16"></el-input>
 				</el-form-item>
 				<el-form-item label="姓名:" :label-width="formLabelWidth" :required="true" prop="fullname">
-					<el-input v-model="formAddAcount.fullname" autocomplete="off" placeholder="请输入姓名" maxlength="6">
+					<el-input v-model="formModifyAcount.fullname" autocomplete="off" placeholder="请输入姓名" maxlength="6">
 					</el-input>
 				</el-form-item>
 				<el-form-item label="手机号:" :label-width="formLabelWidth" :required="true" prop="phone">
@@ -301,7 +301,6 @@
 					phone: '',
 					username: '',
 					fullname: '',
-					fullname: '',
 					password: '',
 					confirmPassword: '',
 					comment: '',

+ 2 - 2
src/views/index/index.vue

@@ -533,7 +533,7 @@
 				this.showThisMonthRecharge.loading = true
 
 				thisMonthRecharge().then((res) => {
-					console.log(res);
+					// console.log(res);
 					if (typeof res.code == 'undefined' || res.code == '') {
 						this.$message.error('返回数据格式问题,code未获取到!')
 						return
@@ -546,7 +546,7 @@
 						this.showThisMonthRecharge.amount = res.zongRe + res.zongRo // 总充值
 					} else if (res.code == 205) {
 						this.showThisMonthRecharge.time = getFormatDateTime('datetime');
-						this.$message.error('本月充值:' + res.message)
+						// this.$message.error('本月充值:' + res.message)
 					} else {
 						this.showThisMonthRecharge.time = getFormatDateTime('datetime');
 						this.$message.error('本月充值:' + res.message)