|
@@ -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?.()
|