Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
live-management-web
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
haojie
live-management-web
Commits
a8070806
Commit
a8070806
authored
Jul 28, 2023
by
haojie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复首页我的数字人超过5个的问题
parent
39e329af
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
src/components/AddVideoPlay.vue
+1
-1
src/pages/home/index.vue
+2
-1
src/utils/request.ts
+3
-3
No files found.
src/components/AddVideoPlay.vue
View file @
a8070806
...
...
@@ -11,7 +11,7 @@
<template
#
body
>
<template
v-if=
"loading"
>
<Loading></Loading>
直播正在
准备
中,请稍后
直播正在
加载
中,请稍后
</
template
>
<
template
v-else
>
<div
class=
"title"
>
直播已准备就绪,确定开始直播吗?
</div>
...
...
src/pages/home/index.vue
View file @
a8070806
...
...
@@ -166,7 +166,8 @@ const getList = async () => {
if
(
digitalPeopleList
.
myList
.
length
>
5
)
{
digitalPeopleList
.
list
=
digitalPeopleList
.
myList
.
slice
(
0
,
5
);
}
else
{
digitalPeopleList
.
list
=
digitalPeopleList
.
myList
.
concat
(
digitalPeopleList
.
adminList
);
// 也要切割成5个
digitalPeopleList
.
list
=
digitalPeopleList
.
myList
.
concat
(
digitalPeopleList
.
adminList
).
slice
(
0
,
5
);
}
digitalPeopleList
.
loading
=
false
;
}
catch
(
e
)
{
...
...
src/utils/request.ts
View file @
a8070806
...
...
@@ -8,7 +8,7 @@ const error_messaage = '请求错误';
const
getBaseUrl
=
()
=>
{
if
(
isDev
())
{
//
//
return 'http://156.247.11.21:92/';
return
'http://156.247.11.21:92/'
;
return
''
;
}
// return 'http://video-assistant.test';
...
...
@@ -17,8 +17,8 @@ const getBaseUrl = () => {
const
instance
=
axios
.
create
({
baseURL
:
getBaseUrl
(),
//
withCredentials: false,
withCredentials
:
isDev
()
?
true
:
false
,
withCredentials
:
false
,
//
withCredentials: isDev() ? true : false,
});
// 请求头
...
...
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