📝fix vue3.0 example (#1028)

Co-authored-by: linli <lilin@lantunet.com>
This commit is contained in:
qtpalmtop 2020-10-27 15:18:13 +08:00 committed by GitHub
parent 666b6962f4
commit e6975bfc3f

View File

@ -46,7 +46,7 @@ function storeTest(props) {
export async function mount(props) {
storeTest(props);
render();
render(props);
instance.config.globalProperties.$onGlobalStateChange = props.onGlobalStateChange;
instance.config.globalProperties.$setGlobalState = props.setGlobalState;
}