Browse Source

feat: openCamera优化

TIANYONG 1 year ago
parent
commit
23377cc0d9
1 changed files with 0 additions and 1 deletions
  1. 0 1
      src/page-instrument/header-top/settting/index.tsx

+ 0 - 1
src/page-instrument/header-top/settting/index.tsx

@@ -189,7 +189,6 @@ export default defineComponent({
 											v-model={state.setting.camera}
 											v-model={state.setting.camera}
 											onChange={ async (value) => {
 											onChange={ async (value) => {
 												if (value) {
 												if (value) {
-													api_openCamera();
 													const res = await api_openCamera();
 													const res = await api_openCamera();
 													// 没有授权
 													// 没有授权
 													if (res?.content?.reson) {
 													if (res?.content?.reson) {