Commit 804a2615 by 李伟康

commit 提交

1 parent 6b34afb2
......@@ -208,7 +208,7 @@ export default {
return receptionRef ? receptionRef[0].currentImgUrl : ''
},
onPreview (item) {
const { materialUrl, materialFormat, name, id } = item
const { materialUrl, materialFormat, name, id, materialType } = item
this.mediaObject = {
...item,
tabName: name,
......@@ -226,9 +226,10 @@ export default {
value = {
openCount: 1,
materialName: name,
materialId: `case-${id}`,
materialId: id,
stayDuration: 0,
entryTime: Date.now()
entryTime: Date.now(),
materialType
}
}
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!