浏览代码

修改box-sizing: border-box;

achao 2 年之前
父节点
当前提交
ff34a6bcc7
共有 1 个文件被更改,包括 6 次插入5 次删除
  1. 6 5
      pages/mine/settings/editPassword.vue

+ 6 - 5
pages/mine/settings/editPassword.vue

@@ -94,15 +94,16 @@
 						})
 						_this.$request.baseRequest('get', '/commonUser/sendVerifyCode', {
 								phone: this.registerData.phone,
-								identification:2,flag:2
+								identification: 2,
+								flag: 2
 							}).then(res => {
-								if(res.code==200){
+								if (res.code == 200) {
 									uni.hideLoading();
 									// 这里此提示会被this.start()方法中的提示覆盖
 									uni.$u.toast('验证码已发送');
 									// 通知验证码组件内部开始倒计时
 									this.$refs.uCode.start();
-								}else{
+								} else {
 									uni.showToast({
 										title: res.message,
 										icon: 'none',
@@ -146,8 +147,7 @@
 								// 获得数据
 								if (res.code == 200) {
 									uni.clearStorageSync();
-									this.$request.baseRequest('post', '/auth/api/logout').then(res => {
-									})
+									this.$request.baseRequest('post', '/auth/api/logout').then(res => {})
 									this.$store.commit('logout')
 									// this.$api.logout()
 									uni.showToast({
@@ -185,6 +185,7 @@
 		height: 100vh;
 		padding-top: 85px;
 		position: relative;
+		box-sizing: border-box;
 	}
 
 	.back-btn {