|
@@ -78,11 +78,13 @@ const sourceURL = computed(() => {
|
|
|
|
|
|
if (sourceFrame.value && sourceFrame.value.contentWindow){
|
|
|
lastFakeApp = sync.views.createTempApp(sourceFrame.value.contentWindow, true);
|
|
|
-
|
|
|
- return `smart-kankan.html?m=${source.value.num}${source.value.type < 2 ? '' : '&dev'}`
|
|
|
}
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
+ if(source.value.type < 2) {
|
|
|
+ return `smart-kankan.html?m=${source.value.num}`
|
|
|
+ } else {
|
|
|
+ return `smart-laser.html?m=${source.value.num}&dev`
|
|
|
+ }
|
|
|
})
|
|
|
|
|
|
const onLoadSource = () => {
|
|
@@ -99,8 +101,10 @@ const onLoadSource = () => {
|
|
|
}
|
|
|
})
|
|
|
}else{
|
|
|
+ debugger
|
|
|
win.sceneType = 'laser'
|
|
|
win.loaded.then(sdk => {
|
|
|
+ debugger
|
|
|
if (lastFakeApp) {
|
|
|
|
|
|
sync.views.bindWithSameFakeType(lastFakeApp,win)
|