umi-plugin-keep-alive icon indicating copy to clipboard operation
umi-plugin-keep-alive copied to clipboard

引入后导致context破坏问题

Open gaojunxin opened this issue 2 years ago • 6 comments

"umi-plugin-keep-alive": "^0.0.1-beta.35"
"@umijs/max": "^4.0.0",

代码:

 if (keepAlive) {
        return (
            <KeepAlive saveScrollPosition={"screen"} name={title}>
                <Outlet/>
            </KeepAlive>
        )
    }

image

gaojunxin avatar Dec 07 '22 02:12 gaojunxin

可以提供一下线上用例吗

CJY0208 avatar Dec 12 '22 01:12 CJY0208

"umi-plugin-keep-alive": "^0.0.1-beta.35"
"@umijs/max": "^4.0.0",

代码:

 if (keepAlive) {
        return (
            <KeepAlive saveScrollPosition={"screen"} name={title}>
                <Outlet/>
            </KeepAlive>
        )
    }

image

同遇到这个问题

Hincex avatar Feb 02 '23 05:02 Hincex

我也遇到了

5265liu avatar Jul 20 '23 07:07 5265liu

本地是好的打包以后就坏了

5265liu avatar Jul 20 '23 07:07 5265liu

+1

GuanJdoJ avatar Jan 08 '24 07:01 GuanJdoJ

这个问题有人解决了吗

ljmCoder avatar Feb 05 '24 07:02 ljmCoder