Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
gl_tape
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
3
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit aa927852
authored
Apr 11, 2024
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v1.0.1' of
http://192.168.3.233:8090/glsx/gl_tape
into v1.0.1
2 parents
f72e04ef
eba32cd9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletions
App.vue
App.vue
View file @
aa92785
...
@@ -5,6 +5,7 @@ export default {
...
@@ -5,6 +5,7 @@ export default {
...
mapState
(
"audio"
,
[
"isEnd"
,
"isStart"
]),
...
mapState
(
"audio"
,
[
"isEnd"
,
"isStart"
]),
},
},
onLaunch
:
function
()
{
onLaunch
:
function
()
{
setTimeout
(()
=>
{
setTimeout
(()
=>
{
plus
.
screen
.
unlockOrientation
();
//解除锁定屏幕方向
plus
.
screen
.
unlockOrientation
();
//解除锁定屏幕方向
plus
.
screen
.
lockOrientation
(
"landscape-primary"
);
plus
.
screen
.
lockOrientation
(
"landscape-primary"
);
...
@@ -13,7 +14,16 @@ export default {
...
@@ -13,7 +14,16 @@ export default {
keepScreenOn
:
true
,
keepScreenOn
:
true
,
});
});
},
},
onShow
:
function
()
{},
onShow
:
function
()
{
const
userInfo
=
uni
.
$storage
.
get
(
'userInfo'
)
||
{}
if
(
!
userInfo
.
shopMerchantId
||
!
userInfo
.
shopMerchantName
)
{
uni
.
$storage
.
rm
(
"userInfo"
);
uni
.
$storage
.
rm
(
"sessionId"
);
uni
.
reLaunch
({
url
:
"/pages/common/login"
,
})
}
},
onHide
:
function
()
{
onHide
:
function
()
{
if
(
this
.
isStart
&&
!
this
.
isEnd
)
{
if
(
this
.
isStart
&&
!
this
.
isEnd
)
{
console
.
log
(
"录音"
);
console
.
log
(
"录音"
);
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment