mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-04-06 03:59:53 +08:00
fix: 修复beforRender中loading动画未正确挂载的问题
This commit is contained in:
parent
d32006e61a
commit
d5c267f5d1
@ -74,7 +74,7 @@ const beforeRender = async () => {
|
||||
let initialState = {};
|
||||
if (typeof beforeRenderConfig.action === "function") {
|
||||
const app = createApp(beforeRenderConfig.loading);
|
||||
app.mount("#app");
|
||||
app.mount('{{{ rootElement }}}');
|
||||
try {
|
||||
initialState = await beforeRenderConfig.action();
|
||||
} catch(e){
|
||||
|
Loading…
x
Reference in New Issue
Block a user