-
Notifications
You must be signed in to change notification settings - Fork 713
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
集成到自己的项目中页面一直加载不出来 #604
Comments
这是runtime没有加载完成,检查一下runtimeUrl是否正确,看看runtimeUrl对应的请求是否请求成功 |
是在runtime中的这行代码触发loading关闭的
可以看看是否调用成功了 在编辑器中,如果想关闭loading也可以调用
onPageElUpdate最终也是调用editorService.set('stageLoading', false); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
m-editor设置v-model绑定了dsl,
如果dsl的items没有设置type为page就可以加载个空的,
dsl:
export default {
type: 'app',
id: '75f0extui9d7yksklx27hff8xg',
name:'test',
items: [
{
type:'text',
id:'text_1',
name: '文本',
text: 'Tmagic editor 营销活动编辑器',
multiple: true,
events: [],
}
],
};
如果设置了page就会一直加载,
dsl:
export default {
type: 'app',
id: '75f0extui9d7yksklx27hff8xg',
name:'test',
items: [
{
type: 'page',
id: 'page_1',
title: '文本',
name: '',
layout: 'absolute',
events:[],
created:{},
items:[
{
type:'text',
id:'text_1',
name: '文本',
text: 'Tmagic editor 营销活动编辑器',
multiple: true,
events: [],
}
]
}
],
};
效果:
我看代码仓库里面组件集componentGroupList也没有配置dsl初始化的组件呐
The text was updated successfully, but these errors were encountered: