|
@@ -124,7 +124,7 @@ export default defineComponent({
|
|
|
const item = data.knowledgePointList[i]
|
|
|
for (let j = 0; j < item.materialList.length; j++) {
|
|
|
const material = item.materialList[j]
|
|
|
- if (browserInfo.isApp && ['VIDEO', 'IMG'].includes(material.type) && /(192|localhost)/.test(location.origin)){
|
|
|
+ if (browserInfo.isApp && ['VIDEO', 'IMG'].includes(material.type)){
|
|
|
const localData = await getCacheFilePath(material)
|
|
|
if (localData?.content?.localPath){
|
|
|
material.url = material.content
|