Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
tswj
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2022-05-14 21:51:44 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
78308d0ad039126a45c6c284da1de1dc3030fd17
78308d0a
1 parent
77b258e6
fix 小问题修复
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
src/components/VideoDetail/index.vue
src/composables/useDefaultPerf.js
src/components/VideoDetail/index.vue
View file @
78308d0
...
...
@@ -72,7 +72,9 @@ export default {
props: ['item'],
data() {
return {
detail: {}
detail: {
mp: ''
}
}
},
created() {
...
...
@@ -94,6 +96,7 @@ export default {
this.detail = _.cloneDeep(this.item);
// 传回数据
this.$emit('on-click', this.detail);
this.mp = mp;
var video = mp.video();
// 监听原生video事件
var _this = this;
...
...
src/composables/useDefaultPerf.js
View file @
78308d0
...
...
@@ -22,6 +22,7 @@ export const useDefaultPerf = (bookId) => {
avatar
:
res
.
data
.
data
.
book_cover
,
name
:
res
.
data
.
data
.
book_name
,
price
:
res
.
data
.
data
.
book_price
,
user_id
:
res
.
data
.
data
.
user_id
,
perf_id
:
res
.
data
.
data
.
perf_id
,
perf_name
:
res
.
data
.
data
.
perf_name
}
...
...
Please
register
or
login
to post a comment