diff --git a/client/public/js/ZLMRTCClient.js b/client/public/js/ZLMRTCClient.js index 8e81d7b..6e8ac24 100644 --- a/client/public/js/ZLMRTCClient.js +++ b/client/public/js/ZLMRTCClient.js @@ -474,6 +474,7 @@ function ZLMRTCClient_(exports) { } }; constraints = JSON.parse(JSON.stringify(constraints)); + remap(constraints.audio, 'noiseSuppression', 'googNoiseSuppression'); constraints.audio = constraintsToChrome_(constraints.audio); } diff --git a/client/src/components/OfficerSelector.vue b/client/src/components/OfficerSelector.vue index 7a62fec..6eb8a1d 100644 --- a/client/src/components/OfficerSelector.vue +++ b/client/src/components/OfficerSelector.vue @@ -354,6 +354,7 @@ import { officers } from '../api/lawenforcement/Officer' // 不立即更新v-model,等用户点击确认按钮时再更新 } + function isPersonSelected(personId) { return selectedPeople.value.some((p) => p.id === personId) } diff --git a/client/src/router/index.js b/client/src/router/index.js index a52f723..e4a606b 100644 --- a/client/src/router/index.js +++ b/client/src/router/index.js @@ -442,14 +442,14 @@ const baseRoutes = [ }, ] }, - // { - // path: 'smrq', - // name: '_smrq', - // component: () => import('@views/xzzfgl/smrq.vue'), - // meta: { - // title: '扫码入企', - // }, - // }, + { + path: 'smrq', + name: '_smrq', + component: () => import('@views/xzzfgl/smrq.vue'), + meta: { + title: '扫码入企', + }, + }, { path: 'jcbgl', name: '_jcbgl', diff --git a/client/src/views/common/MultiplePicture.vue b/client/src/views/common/MultiplePicture.vue index 06ccb4e..efb514e 100644 --- a/client/src/views/common/MultiplePicture.vue +++ b/client/src/views/common/MultiplePicture.vue @@ -16,7 +16,7 @@ :file-list="pictureList" accept="image/gif,image/jpg,image/jpeg,image/png,image/GIF,image/JPG"> - +