fix
This commit is contained in:
@@ -458,6 +458,7 @@ export default defineComponent({
|
|||||||
message.info(t('newScaleImage.jsContent2'))
|
message.info(t('newScaleImage.jsContent2'))
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
store.state.Workspace.cachedRoutes = [];
|
||||||
let id = await getWorks(imgData.scaleImageData.id)
|
let id = await getWorks(imgData.scaleImageData.id)
|
||||||
await router.push(`/home/history/${id}`)
|
await router.push(`/home/history/${id}`)
|
||||||
store.commit('setChooseIsDesign',false)
|
store.commit('setChooseIsDesign',false)
|
||||||
|
|||||||
@@ -31,6 +31,7 @@
|
|||||||
<div class="collectionBox">
|
<div class="collectionBox">
|
||||||
<toProductRelight ref="toProduct"
|
<toProductRelight ref="toProduct"
|
||||||
:productimgMenu="{value:'ToProductImage',label:$t('ProductImg.ProductImage')}"
|
:productimgMenu="{value:'ToProductImage',label:$t('ProductImg.ProductImage')}"
|
||||||
|
:isDesignPage="true"
|
||||||
@setLike="designLike"
|
@setLike="designLike"
|
||||||
class="toProduct"
|
class="toProduct"
|
||||||
:source="source"
|
:source="source"
|
||||||
@@ -40,6 +41,7 @@
|
|||||||
></toProductRelight>
|
></toProductRelight>
|
||||||
<toProductRelight ref="relight"
|
<toProductRelight ref="relight"
|
||||||
:productimgMenu="{value:'Relight',label:$t('ProductImg.Relight')}"
|
:productimgMenu="{value:'Relight',label:$t('ProductImg.Relight')}"
|
||||||
|
:isDesignPage="true"
|
||||||
@setLike="designLike"
|
@setLike="designLike"
|
||||||
class="relight"
|
class="relight"
|
||||||
:source="source"
|
:source="source"
|
||||||
@@ -47,7 +49,7 @@
|
|||||||
:isState="openType =='relight'"
|
:isState="openType =='relight'"
|
||||||
v-if="openType == 'relight'"
|
v-if="openType == 'relight'"
|
||||||
></toProductRelight>
|
></toProductRelight>
|
||||||
<poseTransfer v-if="openType == 'poseTransfer'" @unLike="unLike" :source="source" @setLike="designLike" ref="poseTransfer"></poseTransfer>
|
<poseTransfer v-if="openType == 'poseTransfer'" @unLike="unLike" :source="source" :isDesignPage="true" @setLike="designLike" ref="poseTransfer"></poseTransfer>
|
||||||
<div v-if="openType == 'editCanvas'" class="canvasBox" :class="{editCanvas:openType == 'editCanvas'}">
|
<div v-if="openType == 'editCanvas'" class="canvasBox" :class="{editCanvas:openType == 'editCanvas'}">
|
||||||
<div class="canvas" ref="canvasBox">
|
<div class="canvas" ref="canvasBox">
|
||||||
<editCanvas
|
<editCanvas
|
||||||
|
|||||||
@@ -1101,13 +1101,13 @@ export default defineComponent({
|
|||||||
|
|
||||||
const showPromptAssist = ref(false)
|
const showPromptAssist = ref(false)
|
||||||
const handleClickAssistBtn = () => {
|
const handleClickAssistBtn = () => {
|
||||||
const { httpType } = store.state.Workspace.probjects
|
// const { httpType } = store.state.Workspace.probjects
|
||||||
const isSingleDesign = httpType === 'SINGLE_DESIGN'
|
// const isSingleDesign = httpType === 'SINGLE_DESIGN'
|
||||||
if (props.isDesignPage && !isSingleDesign) {
|
// if (props.isDesignPage && !isSingleDesign) {
|
||||||
const promptText = t('ProductImg.Series')
|
// const promptText = t('ProductImg.Series')
|
||||||
productImgData.searchName[props.productimgMenu.value] = promptText
|
// productImgData.searchName[props.productimgMenu.value] = promptText
|
||||||
return
|
// return
|
||||||
}
|
// }
|
||||||
showPromptAssist.value = true
|
showPromptAssist.value = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user