You need to sign in or sign up before continuing.
|
@@ -4351,7 +4351,7 @@ App.prototype.loadFile = function (id, sameWindow, file, success, force) { |
|
@@ -4351,7 +4351,7 @@ App.prototype.loadFile = function (id, sameWindow, file, success, force) { |
|
4351
|
if (success != null)
|
4351
|
if (success != null)
|
|
4352
|
success()
|
4352
|
success()
|
|
4353
|
// TODO Thingskkit socket连接
|
4353
|
// TODO Thingskkit socket连接
|
|
4354
|
- if (result?.templateId) {
|
4354
|
+ if (!result?.isTemplate) {
|
|
4355
|
const lightboxWebsocketService = useLightboxModeService(this)
|
4355
|
const lightboxWebsocketService = useLightboxModeService(this)
|
|
4356
|
this.lightboxWebsocketService = lightboxWebsocketService
|
4356
|
this.lightboxWebsocketService = lightboxWebsocketService
|
|
4357
|
this.lightboxWebsocketService?.init?.()
|
4357
|
this.lightboxWebsocketService?.init?.()
|
|
@@ -73,7 +73,6 @@ const handleGetVideoPlay = async () => { |
|
@@ -73,7 +73,6 @@ const handleGetVideoPlay = async () => { |
|
73
|
}
|
73
|
}
|
|
74
|
|
74
|
|
|
75
|
const instance = unref(basicVideoPlayEl)?.customInit((options) => {
|
75
|
const instance = unref(basicVideoPlayEl)?.customInit((options) => {
|
|
76
|
- withToken.value = true
|
|
|
|
77
|
if (unref(withToken)) {
|
76
|
if (unref(withToken)) {
|
|
78
|
(options as any).flvjs.config.headers = {
|
77
|
(options as any).flvjs.config.headers = {
|
|
79
|
'X-Authorization': `Bearer ${isShareMode() ? getShareJwtToken() : getJwtToken()}`,
|
78
|
'X-Authorization': `Bearer ${isShareMode() ? getShareJwtToken() : getJwtToken()}`,
|