|
@@ -135,11 +135,22 @@ const fileType = parseInt(routerQuery?.fileType + '') || 2;
|
|
|
|
|
|
//监听
|
|
//监听
|
|
watch(() => [
|
|
watch(() => [
|
|
- useAppState.getCollapse
|
|
|
|
-], ([Collapse]) => {
|
|
|
|
|
|
+ useAppState.getCollapse,
|
|
|
|
+ useAppState.getContractId
|
|
|
|
+], ([Collapse,ContractId]) => {
|
|
isCollapse.value = Collapse
|
|
isCollapse.value = Collapse
|
|
|
|
+ contractId.value=ContractId
|
|
})
|
|
})
|
|
-
|
|
|
|
|
|
+watch(contractId, (val) => {
|
|
|
|
+ if(val){
|
|
|
|
+ console.log(val)
|
|
|
|
+ router.push({
|
|
|
|
+ path: '/other-file/image-data',
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ })
|
|
//自动展开缓存
|
|
//自动展开缓存
|
|
const TreeAutoExpandKeys = ref([])
|
|
const TreeAutoExpandKeys = ref([])
|
|
const TreeExpandedKeys = ref([])
|
|
const TreeExpandedKeys = ref([])
|