zhang 1 năm trước cách đây
mục cha
commit
f87c2872a6
2 tập tin đã thay đổi với 8 bổ sung3 xóa
  1. 2 2
      pages/user/set/transaction.vue
  2. 6 1
      pages/user/set/userinfo.vue

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

@@ -94,7 +94,7 @@ export default {
 		confirm(e) {
 		  this.loding = true;
 		  uni.showLoading({
-		  	title: '提交中',
+		  	title: this.$t("userinfo.u23"),
 		  	mask: true
 		  });
 		  Reset({
@@ -106,7 +106,7 @@ export default {
 		  	.then(() => {
 		  		this.loding = false;
 				uni.showToast({
-					title: '修改成功',
+					title: this.$t("safe.d3"),
 					icon:"success",
 					mask:true
 				});

+ 6 - 1
pages/user/set/userinfo.vue

@@ -65,7 +65,12 @@ export default {
 		confirm() {
 			userEdit({ avatar: this.userInfo.avatar ,nickname: this.userInfo.nickname})
 				.then(e => {
-					this.$api.msg(obj.$t("safe.d3"));
+					uni.showToast({
+						// title: '修改成功',
+						title: this.$t("safe.d3"),
+						icon:"success",
+						mask:true
+					});
 					setTimeout(()=> {
 						uni.switchTab({
 							url:'/pages/user/user'