提交 ce8a0ae4 编写于 作者: S shenjizhe

1

上级 aed0dcf1
......@@ -17,7 +17,8 @@ module.exports = {
let url = 'http://localhost:8071';
// let url = 'http://dzlc.licaiedu.com/code';
let headers = {
"Access-Control-Allow-Origin": "http://dzlc.licaiedu.com/code"
"Access-Control-Allow-Origin": "http://localhost:8071",
// "Access-Control-Allow-Origin": "http://dzlc.licaiedu.com/code"
};
function loadEntities(domainId, success, fail, complete) {
......
......@@ -189,7 +189,7 @@ export default {
}
},
onCreateComponent() {
callApi(this.api.addComponent, this.component.data);
this.callApi(this.api.addComponent, this.component.data);
},
onCreateGit() {},
onSaveModel() {},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册