|
@@ -90,13 +90,13 @@ export async function unmount() {
|
|
|
// vite 环境下
|
|
// vite 环境下
|
|
|
renderWithQiankun({
|
|
renderWithQiankun({
|
|
|
mount(props) {
|
|
mount(props) {
|
|
|
- console.log('[client-eam-v3] props from main framework', props);
|
|
|
|
|
|
|
+ console.log('[client-trace-v3] props from main framework', props);
|
|
|
render(props);
|
|
render(props);
|
|
|
instance.config.globalProperties.$onGlobalStateChange = props.onGlobalStateChange;
|
|
instance.config.globalProperties.$onGlobalStateChange = props.onGlobalStateChange;
|
|
|
instance.config.globalProperties.$setGlobalState = props.setGlobalState;
|
|
instance.config.globalProperties.$setGlobalState = props.setGlobalState;
|
|
|
},
|
|
},
|
|
|
bootstrap() {
|
|
bootstrap() {
|
|
|
- console.log('[client-eam-v3] bootstraped');
|
|
|
|
|
|
|
+ console.log('[client-trace-v3] bootstraped');
|
|
|
},
|
|
},
|
|
|
unmount(props) {
|
|
unmount(props) {
|
|
|
instance.unmount();
|
|
instance.unmount();
|