瀏覽代碼

2023-10-24

cmy 2 年之前
父節點
當前提交
08c371665f
共有 1 個文件被更改,包括 10 次插入2 次删除
  1. 10 2
      pages/user/set/transaction.vue

+ 10 - 2
pages/user/set/transaction.vue

@@ -93,15 +93,23 @@ export default {
 	
 		confirm(e) {
 		  this.loding = true;
+		  uni.showLoading({
+		  	title: '提交中',
+		  	mask: false
+		  });
 		  Reset({
 		  	account: this.account,
 		  	captcha: this.captcha,
 		  	password: this.password,
 			repeat: this.repeat
 		  })
-		  	.then(({ data }) => {
+		  	.then(() => {
 		  		this.loding = false;
-		  		this.$api.msg('修改成功');
+				uni.showToast({
+					title: '修改成功',
+					icon:"success",
+					mask:true
+				});
 		  	})
 		  	.catch(err => {
 		  		this.loding = false;