umi-max 在app.ts中export乾坤配置,执行的比getInitialStateAPI还更先,请问我想请求完接口动态改变乾坤的配置应该怎么做? #12265
Unanswered
kelisiWu123
asked this question in
Q&A
Replies: 2 comments 1 reply
-
思维局限了,原来把qiankun方法里面当成 getInitialState用就可以做到了 |
Beta Was this translation helpful? Give feedback.
0 replies
-
能截个图,学习下怎么用吗? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
export const qiankun = (()=> {
console.log('qian kun 配置加载')
return {
apps: [
{
name: 'App1',
entry:
${someUrl}
,},
{
name: 'ptApp2',
entry:
${getAppName()}
,},
],
}
})()
Beta Was this translation helpful? Give feedback.
All reactions