lex 10 ماه پیش
والد
کامیت
e6e102d208
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      src/views/coursewarePlay/index.tsx

+ 2 - 2
src/views/coursewarePlay/index.tsx

@@ -410,7 +410,7 @@ export default defineComponent({
     // 获取支付渠道
     const sysParamConfig = async () => {
       try {
-        const { data } = await request.get(
+        const res = await request.get(
           state.platformApi + '/sysConfig/queryByParamName',
           {
             params: {
@@ -418,7 +418,7 @@ export default defineComponent({
             }
           }
         );
-        data.disableScreenRecordingFlag = data.paramValue || '';
+        data.disableScreenRecordingFlag = res.data.paramValue || '';
       } catch {
         //
       }