|
@@ -83,9 +83,8 @@ const route = useRoute()
|
|
|
const router = useRouter()
|
|
|
const store = useStore()
|
|
|
|
|
|
-const cascaderValue = ref([
|
|
|
- 'all'
|
|
|
-])
|
|
|
+const cascaderValueInit = (route.query.sceneIdx && route.query.cameraIdx) ? [route.query.sceneIdx, route.query.cameraIdx] : ['all']
|
|
|
+const cascaderValue = ref(cascaderValueInit)
|
|
|
const cameraTree = ref([
|
|
|
{
|
|
|
value: 'all',
|