|
|
@@ -233,7 +233,9 @@ const handleSee = async () =>{
|
|
|
const pages = editor.value?.pages
|
|
|
const indexingLineList = editor.value?.indexingLineList
|
|
|
const content = JSON.stringify({pages, indexingLineList})
|
|
|
-
|
|
|
+ if(indexing.value){
|
|
|
+ changeIndexing()
|
|
|
+ }
|
|
|
let {data} = await casePhotoUpdate({
|
|
|
id,
|
|
|
caseId: caseId.value,
|
|
|
@@ -417,6 +419,11 @@ const changeIndexing = async () => {
|
|
|
if (editor.value) {
|
|
|
editor.value.indexing = indexing.value;
|
|
|
editor.value.selectedPageIndex = -1;
|
|
|
+ editor.value.tempArrow = {
|
|
|
+ start: null, // { x, y }
|
|
|
+ end: null, // { x, y }
|
|
|
+ drawing: false // 是否正在绘制
|
|
|
+ };
|
|
|
editor.value.selectedPageItem = {
|
|
|
index: -1,
|
|
|
pageIndex: -1,
|