Jelajahi Sumber

Merge branch 'colexiu1.3'

lex 1 tahun lalu
induk
melakukan
431f070e1e
1 mengubah file dengan 8 tambahan dan 8 penghapusan
  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: '提示',