|
@@ -183,6 +183,9 @@ export default defineComponent({
|
|
|
if (localData?.content?.localPath) {
|
|
|
material.url = material.content;
|
|
|
material.content = localData.content.localPath;
|
|
|
+ } else {
|
|
|
+ material.url = material.content + '?t=' + +new Date();
|
|
|
+ material.content = material.content + '?t=' + +new Date();
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -293,7 +296,7 @@ export default defineComponent({
|
|
|
index++;
|
|
|
return {
|
|
|
...item,
|
|
|
- content: item.content + '?t=' + item.id,
|
|
|
+ content: item.content,
|
|
|
knowledgePointId: [item.knowledgePointId],
|
|
|
materialId: item.id,
|
|
|
id: index + ''
|
|
@@ -306,7 +309,7 @@ export default defineComponent({
|
|
|
index++;
|
|
|
return {
|
|
|
...item,
|
|
|
- content: item.content + '?t=' + item.id,
|
|
|
+ content: item.content,
|
|
|
knowledgePointId: [n.id, item.knowledgePointId],
|
|
|
materialId: item.id,
|
|
|
id: index + ''
|