diff --git a/pom.xml b/pom.xml index 5e568b7..94b0b16 100644 --- a/pom.xml +++ b/pom.xml @@ -73,8 +73,76 @@ + + + org.apache.maven.plugins + maven-dependency-plugin + + + copy-dependencies + prepare-package + + copy-dependencies + + + ${project.build.directory}/meta-kit/lib + false + false + true + + + + + + maven-resources-plugin + 2.5 + + + copy-resources + process-sources + + copy-resources + + + ${basedir}/target/meta-kit/ + + + + ${basedir}/ + + bin/** + conf/** + root/** + + + + + + + copy-resources1 + process-sources + + copy-resources + + + ${basedir}/target/meta-kit/lib + + + + ${project.basedir}/src/main/resources/ + + tpl/** + META-INF/** + + + + + + + + - + diff --git a/root/api/plat.js b/root/api/plat.js index 9dffe0b..057293f 100644 --- a/root/api/plat.js +++ b/root/api/plat.js @@ -6,13 +6,14 @@ const plat = { return red.getX('/plat/list', params) }, platSave({plat}) { - return red.postX('/plat/save', {plat}) + return red.postX('/plat/save', {plat:JSON.stringify(plat)}) }, dbList(params) { // 数据源列表 return red.getX('/plat/db_list', params) }, dbSave({plat}) { + // todo:解决重复点击保存出现的异常 plat["url"] = escape(plat["url"]) return red.postX('/plat/db_save', {plat: JSON.stringify(plat)}) }, diff --git a/root/index.html b/root/index.html index d4f607a..4d00795 100644 --- a/root/index.html +++ b/root/index.html @@ -118,6 +118,7 @@ {name: "关于", url: "/single", nodes: [ {url:"/single/about.html", name:"关于MetaKit", icon:"icon-server"}, {url:"/single/code.html", name:"整体实现", icon:"icon-server"}, + {url:"/single/core.html", name:"组件关系", icon:"icon-server"}, {url:"/single/metaFlow.html", name:"MetaKit使用", icon:"icon-server"}, ] }, diff --git a/root/metadata/metaService.html b/root/metadata/metaService.html index b112c69..eeaccad 100644 --- a/root/metadata/metaService.html +++ b/root/metadata/metaService.html @@ -10,7 +10,7 @@