|
@@ -69,7 +69,7 @@ export default defineComponent({
|
|
|
return
|
|
|
}
|
|
|
if (!item.hasCache) {
|
|
|
- if (browserInfo.isStudent || /(192|localhost)/.test(location.origin)) {
|
|
|
+ if (browserInfo.isStudent || route.query.isdev) {
|
|
|
try {
|
|
|
await showConfirmDialog({
|
|
|
message: '当前课程没有缓存是否缓存'
|
|
@@ -79,7 +79,6 @@ export default defineComponent({
|
|
|
return
|
|
|
}
|
|
|
}
|
|
|
- item.downloadStatus = 1
|
|
|
downCatch(item)
|
|
|
return
|
|
|
}
|