|
@@ -90,18 +90,18 @@ const init = async () => {
|
|
|
}
|
|
|
// init()
|
|
|
const qpisceneList = computed(() => getCaseSceneListData(caseId.value as number));
|
|
|
-watch(() => qpisceneList.value, () => {
|
|
|
- if(!qpisceneList.value instanceof Array){
|
|
|
- return;
|
|
|
- }
|
|
|
- let newqpisceneList = qpisceneList.value && JSON.parse(JSON.stringify(qpisceneList.value)) || []
|
|
|
- if(newqpisceneList.length){
|
|
|
- newqpisceneList.unshift({ id: -1, type: 99, name: '多元融合' });
|
|
|
- }
|
|
|
- console.log('qpisceneList', qpisceneList.value, newqpisceneList);
|
|
|
- sceneList.value = qpisceneList.value && [...newqpisceneList] || []
|
|
|
- handleCommand()
|
|
|
-})
|
|
|
+// watch(() => qpisceneList.value, () => {
|
|
|
+// if(!qpisceneList.value instanceof Array){
|
|
|
+// return;
|
|
|
+// }
|
|
|
+// let newqpisceneList = qpisceneList.value && JSON.parse(JSON.stringify(qpisceneList.value)) || []
|
|
|
+// if(newqpisceneList.length){
|
|
|
+// newqpisceneList.unshift({ id: -1, type: 99, name: '多元融合' });
|
|
|
+// }
|
|
|
+// console.log('qpisceneList', qpisceneList.value, newqpisceneList);
|
|
|
+// sceneList.value = qpisceneList.value && [...newqpisceneList] || []
|
|
|
+// handleCommand()
|
|
|
+// })
|
|
|
console.log(sceneList, 'sceneList');
|
|
|
onMounted(() => {
|
|
|
// setupSDK(document.querySelector('iframe') as HTMLIFrameElement)
|