Commit 804a2615 by 李伟康

commit 提交

1 parent 6b34afb2
...@@ -208,7 +208,7 @@ export default { ...@@ -208,7 +208,7 @@ export default {
return receptionRef ? receptionRef[0].currentImgUrl : '' return receptionRef ? receptionRef[0].currentImgUrl : ''
}, },
onPreview (item) { onPreview (item) {
const { materialUrl, materialFormat, name, id } = item const { materialUrl, materialFormat, name, id, materialType } = item
this.mediaObject = { this.mediaObject = {
...item, ...item,
tabName: name, tabName: name,
...@@ -226,9 +226,10 @@ export default { ...@@ -226,9 +226,10 @@ export default {
value = { value = {
openCount: 1, openCount: 1,
materialName: name, materialName: name,
materialId: `case-${id}`, materialId: id,
stayDuration: 0, stayDuration: 0,
entryTime: Date.now() entryTime: Date.now(),
materialType
} }
} }
this.$store.dispatch("setReceptionTrack", { key, value }) this.$store.dispatch("setReceptionTrack", { key, value })
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!