|
@@ -908,7 +908,9 @@ import { typeOptions, useDAnchor } from '@/services/common';
|
|
|
import { upload } from '@/services/file';
|
|
|
import { getCollectionList } from '@/services/api';
|
|
|
import { parseSearchToken } from '@le5le/auth-token';
|
|
|
+import { useProject } from '@/services/project';
|
|
|
|
|
|
+const { getProject } = useProject();
|
|
|
const {anchorShow } = useDAnchor();
|
|
|
const router = useRouter();
|
|
|
const route = useRoute();
|
|
@@ -1088,6 +1090,9 @@ const open = async (flag: boolean = false) => {
|
|
|
if(!ret.data.width){ret.data.width= 1920};
|
|
|
if(!ret.data.height){ret.data.height= 1080};
|
|
|
meta2d.open(ret.data);
|
|
|
+ if(ret.otherData?.projectId){
|
|
|
+ getProject(ret.otherData.projectId);
|
|
|
+ }
|
|
|
if (!route.query.c) {
|
|
|
shared.value = ret.shared;
|
|
|
|