Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

引入后导致context破坏问题 #92

Open
gaojunxin opened this issue Dec 7, 2022 · 6 comments
Open

引入后导致context破坏问题 #92

gaojunxin opened this issue Dec 7, 2022 · 6 comments

Comments

@gaojunxin
Copy link

"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

@CJY0208
Copy link
Member

CJY0208 commented Dec 12, 2022

可以提供一下线上用例吗

@Hincex
Copy link

Hincex commented Feb 2, 2023

"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

同遇到这个问题

@5265liu
Copy link

5265liu commented Jul 20, 2023

我也遇到了

@5265liu
Copy link

5265liu commented Jul 20, 2023

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

@GuanJdoJ
Copy link

GuanJdoJ commented Jan 8, 2024

+1

@ljmCoder
Copy link

ljmCoder commented Feb 5, 2024

这个问题有人解决了吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants