feat: 临时下线智能抠图与图片翻译入口
This commit is contained in:
@@ -1912,21 +1912,8 @@ function ProductClonePage(_props: ProductClonePageProps = {}) {
|
|||||||
|
|
||||||
const openSmartCutoutUpload = () => {
|
const openSmartCutoutUpload = () => {
|
||||||
clearSmartCutoutTransition();
|
clearSmartCutoutTransition();
|
||||||
setSmartCutoutTransitionMessage({
|
|
||||||
title: "正在进入智能抠图",
|
|
||||||
subtitle: "为你打开图片处理工具",
|
|
||||||
});
|
|
||||||
setActiveQuickTool("cutout");
|
|
||||||
setSmartCutoutBatchImages((current) => {
|
|
||||||
revokeSmartCutoutItems(current);
|
|
||||||
return [];
|
|
||||||
});
|
|
||||||
setSmartCutoutImage((current) => {
|
|
||||||
revokeSmartCutoutItem(current);
|
|
||||||
return null;
|
|
||||||
});
|
|
||||||
setIsSmartCutoutComparing(false);
|
|
||||||
setComposerMenu(null);
|
setComposerMenu(null);
|
||||||
|
toast.info("功能正在优化中");
|
||||||
};
|
};
|
||||||
|
|
||||||
const openWatermarkRemovalPage = () => {
|
const openWatermarkRemovalPage = () => {
|
||||||
@@ -2140,9 +2127,8 @@ function ProductClonePage(_props: ProductClonePageProps = {}) {
|
|||||||
|
|
||||||
const openImageTranslatePage = () => {
|
const openImageTranslatePage = () => {
|
||||||
clearSmartCutoutTransition();
|
clearSmartCutoutTransition();
|
||||||
setActiveQuickTool("translate");
|
|
||||||
setComposerMenu(null);
|
setComposerMenu(null);
|
||||||
setIsCloneSettingsCollapsed(false);
|
toast.info("功能正在优化中");
|
||||||
};
|
};
|
||||||
|
|
||||||
const closeImageTranslatePage = () => {
|
const closeImageTranslatePage = () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user