diff --git a/README.md b/README.md index 2789fcaa8..6a3ef8ffe 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,6 @@ -[![npm version](https://badge.fury.io/js/react-gm.svg)](https://badge.fury.io/js/react-gm) + +[![npm](https://img.shields.io/npm/v/npm.svg)](https://www.npmjs.com/package/react-gm) + +[![JavaScript Style Guide](https://cdn.rawgit.com/standard/standard/master/badge.svg)](https://github.com/standard/standard) [文档and demo](http://gmfe.github.io/react-gm/build/) diff --git a/demo/app.js b/demo/app.js index 56fdba53d..1854b484a 100644 --- a/demo/app.js +++ b/demo/app.js @@ -8,7 +8,7 @@ import { Framework, RightTop } from '../frame' const history = createHashHistory() -const version = __VERSION__; //eslint-disable-line +const version = __VERSION__ //eslint-disable-line @withRouter class App extends React.Component { @@ -96,14 +96,8 @@ class App extends React.Component { /> - ReactGM + ReactGM v{version} - Star {nav} @@ -121,16 +115,23 @@ class App extends React.Component { leftWidth='230px' info={(
+