|
|
@@ -1440,6 +1440,9 @@ export default {
|
|
|
this.enableAutoRotation = false;
|
|
|
this.photoPopup = true;
|
|
|
this.isTaking = true;
|
|
|
+ uni.setKeepScreenOn({
|
|
|
+ keepScreenOn: true
|
|
|
+ });
|
|
|
uni.authorize({
|
|
|
scope: 'scope.camera',
|
|
|
success() {
|
|
|
@@ -1458,6 +1461,9 @@ export default {
|
|
|
this.postStudyRecord(); //提交记录
|
|
|
//恢复播放
|
|
|
|
|
|
+ uni.setKeepScreenOn({
|
|
|
+ keepScreenOn: false
|
|
|
+ });
|
|
|
this.photoPopup = false;
|
|
|
this.uploadLock = false;
|
|
|
this.enableAutoRotation = true;
|