Browse Source

解绑绑定微信

lsc 2 months ago
parent
commit
0bf30d70de
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/components/pages/data.vue

+ 2 - 2
src/components/pages/data.vue

@@ -471,7 +471,7 @@ export default {
             { userid: this.userid, openid: '' },
           ]).then((res) => {
             this.$message.success("取消绑定成功");
-            this.getUser();
+            this.getDetail();
           }).catch((err) => {
             this.$message.error("取消绑定失败");
             console.error(err);
@@ -515,7 +515,7 @@ export default {
       ]).then((res) => {
         this.$message.success("绑定成功");
         this.wechatDialogVisible = false;
-        this.getUser();
+        this.getDetail();
       }).catch((err) => {
         this.$message.error("绑定失败请重新扫码");
         console.error(err);