-
Notifications
You must be signed in to change notification settings - Fork 164
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
json导入 #12
Comments
@WangYi0220 |
感谢,已经成功回显 |
@CB-ysx 您好, 这个模板也是json形式的吗? 哪个位置能加载这个模板? |
@ancin 可以写一个setWidgetJsonData方法,传模板的json数据,进行赋值。 setWidgetJsonData(store, {page, widgets}) {
store.state.dPage = page;
store.state.dWidgets = widgets;
} 大概这样子,可能还有其他数据的初始化。 |
感谢 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
您好,能否指点一下如何将已有JSON 导入进行回显?谢谢。
The text was updated successfully, but these errors were encountered: