Browse Source

Update index.tsx

lex 1 year ago
parent
commit
cd100d5108
1 changed files with 8 additions and 8 deletions
  1. 8 8
      src/tenant/music/train-tool/index.tsx

+ 8 - 8
src/tenant/music/train-tool/index.tsx

@@ -176,15 +176,15 @@ export default defineComponent({
         }
         }
       ]
       ]
 
 
-      // const res = await request.post('/api-student/userOrder/getPendingOrder', {
-      //   data: {
-      //     goodType: 'TENANT_ALBUM',
-      //     bizId: details.id
-      //   }
-      // })
+      const res = await request.post('/api-student/userOrder/getPendingOrder', {
+        data: {
+          goodType: 'TENANT_ALBUM',
+          bizId: details.id
+        }
+      })
 
 
-      // const result = res.data
-      if (false) {
+      const result = res.data
+      if (result) {
         state.popupStatus = false
         state.popupStatus = false
         Dialog.confirm({
         Dialog.confirm({
           title: '提示',
           title: '提示',