diff --git a/src/component/Detail/DesignDetail.vue b/src/component/Detail/DesignDetail.vue index ebed65a0..77f2db40 100644 --- a/src/component/Detail/DesignDetail.vue +++ b/src/component/Detail/DesignDetail.vue @@ -600,6 +600,7 @@ export default defineComponent({ await KeyValueDB.set('canvasList', JSON.stringify(list)); } const detailEdit = async (str:any)=>{ + detailData.loadingShow = true if(str){ if(detailData.isEditPattern.value && detailData.isEditPattern.value == str){ // await detailDom.canvasBox.saveCanvas() @@ -621,6 +622,7 @@ export default defineComponent({ }else{ detailData.isEditPattern.value = '' } + detailData.loadingShow = false } const getColorName = (color:any)=>{ let rgb:any = [color.r, color.g, color.b]; diff --git a/src/component/Detail/model/modelPosition.vue b/src/component/Detail/model/modelPosition.vue index 733050e4..8ba34db3 100644 --- a/src/component/Detail/model/modelPosition.vue +++ b/src/component/Detail/model/modelPosition.vue @@ -28,7 +28,7 @@
diff --git a/src/views/HomeMain.vue b/src/views/HomeMain.vue index 834e2e0c..b26e5803 100644 --- a/src/views/HomeMain.vue +++ b/src/views/HomeMain.vue @@ -615,10 +615,10 @@ export default defineComponent({ homeMainData.openTypeChild = '' homeMainData.openType = '' } - if ((query?.id || query?.history) && !(await getIdExistToHistory())) { - router.push('/home') - return - } + // if ((query?.id || query?.history) && !(await getIdExistToHistory())) { + // router.push('/home') + // return + // } } else { homeMainData.openType = '' homeMainData.openTypeChild = ''