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