408249787 3 天之前
父节点
当前提交
8e5c07ca0c
共有 1 个文件被更改,包括 8 次插入1 次删除
  1. 8 1
      pages/index/components/exchange.uvue

+ 8 - 1
pages/index/components/exchange.uvue

@@ -45,7 +45,14 @@ async function handleExchange() {
       message: "兑换成功",
       showCancel: false,
       callback(action) {
-        console.log("用户已确认:", action);
+        if (userInfo.value == null) {
+          return
+        }
+        fetchSubjectFeeRecord({
+          createdUserId: userInfo.value.userInfo.userId
+        }).then(res => {
+          recordList.value = res
+        })
       },
     });
     loading.value = false