Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
standalone-anyremote
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
qlintonger xeno
standalone-anyremote
Commits
2fefca61
Commit
2fefca61
authored
May 09, 2024
by
qlintonger xeno
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
强制添加转换idle
parent
604cc0c7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletions
+9
-1
anyremote/agoraHandle.js
+4
-0
src/App.vue
+5
-1
No files found.
anyremote/agoraHandle.js
View file @
2fefca61
...
...
@@ -628,6 +628,10 @@ export class AgoraHandle {
return
false
}
async
setIdleYourself
()
{
this
.
AnyRemote
.
sendWSFromCall
(
'0'
,
'SetIdle'
);
}
async
archiveMark
(
fileData
,
type
=
'video'
)
{
this
.
AnyRemote
.
sendWSFromCall
(
'-2'
,
...
...
src/App.vue
View file @
2fefca61
...
...
@@ -112,11 +112,15 @@ router.beforeEach(async (to, from, next) => {
}
}
})
const
IdlePageAll
=
[
'Contacts'
,
'Events'
,
'Experience'
,
'Resource'
];
//全局后置守卫
router
.
afterEach
(
async
(
to
)
=>
{
// 动态标题
let
pageTitle
=
!
to
.
meta
.
hideBaseTitle
?
config
.
baseTitle
+
' - '
:
''
if
(
to
.
meta
.
title
!=
''
)
pageTitle
+=
to
.
meta
.
title
window
.
document
.
title
=
pageTitle
window
.
document
.
title
=
pageTitle
;
if
(
IdlePageAll
.
includes
(
to
.
name
as
string
))
{
AnyR
?.
agora
.
setIdleYourself
();
}
})
</
script
>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment