proposal step : handle multiple files
This commit is contained in:
parent
9ade34e6ea
commit
86d3f8b22c
7 changed files with 119 additions and 31 deletions
|
|
@ -44,13 +44,16 @@ import { useDialogStore } from "../../../stores/dialog";
|
|||
import { useRoute, useRouter } from "vue-router";
|
||||
import { storeToRefs } from "pinia";
|
||||
|
||||
const dialog = useDialogStore();
|
||||
const { openedFile, comments } = storeToRefs(useDialogStore());
|
||||
openedFile.value = dialog.content.files[0];
|
||||
|
||||
const router = useRouter();
|
||||
const route = useRoute();
|
||||
|
||||
const dialog = useDialogStore();
|
||||
const { openedFile, comments } = storeToRefs(useDialogStore());
|
||||
|
||||
openedFile.value = route.query.fileIndex
|
||||
? dialog.content.files[route.query.fileIndex]
|
||||
: dialog.content.files[0];
|
||||
|
||||
const licenseKey = import.meta.env.VITE_VPV_LICENSE;
|
||||
useLicense({ licenseKey });
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue