optimize top btn

This commit is contained in:
OttoMao
2015-08-07 14:27:57 +08:00
parent 39ae0f4648
commit ae070c90ab
11 changed files with 214 additions and 71 deletions

View File

@@ -17,7 +17,7 @@ function init(React){
return (
React.createElement("div", {className: "mapWrapper"},
React.createElement("h4", {className: "subTitle"}, "Current Config"),
React.createElement(MapList, {ref: "list"}),
React.createElement(MapList, {ref: "list", onChange: self.props.onChange}),
React.createElement("h4", {className: "subTitle"}, "Add Map Rule"),
React.createElement(MapForm, {onSubmit: self.appendRecord})
@@ -29,4 +29,5 @@ function init(React){
return MapPanel;
}
module.exports.init = init;
module.exports.init = init;
module.exports.fetchConfig = require("./mapList").fetchConfig;