|
@@ -151,7 +151,7 @@ export default defineComponent({
|
|
|
try {
|
|
|
const apiSuffix =
|
|
|
state.platformType === 'STUDENT' ? '/api-student' : '/api-teacher'
|
|
|
- const { data } = await request.get(
|
|
|
+ const res = await request.get(
|
|
|
apiSuffix + '/sysConfig/queryByParamName',
|
|
|
{
|
|
|
params: {
|
|
@@ -159,7 +159,7 @@ export default defineComponent({
|
|
|
}
|
|
|
}
|
|
|
)
|
|
|
- this.disableScreenRecordingFlag = data.paramValue || ''
|
|
|
+ this.disableScreenRecordingFlag = res.data.paramValue || ''
|
|
|
} catch {
|
|
|
//
|
|
|
}
|