diff --git a/examples/components/App.jsx b/examples/components/App.jsx index 6674b7b1..9bd0481d 100644 --- a/examples/components/App.jsx +++ b/examples/components/App.jsx @@ -104,6 +104,7 @@ if (process.env.NODE_ENV === 'production') { const navigations = [ Docs, { + prefix: ({classnames: cx}) =>
  • , label: '示例', children: [ { @@ -535,8 +536,6 @@ const navigations = [ } ] } - - ]; function isActive(link, location) { @@ -897,10 +896,7 @@ export default function entry({pathPrefix}) { return ( - + {navigations2route(PathPrefix)} diff --git a/examples/components/Doc.jsx b/examples/components/Doc.jsx index 84b171c1..72424879 100644 --- a/examples/components/Doc.jsx +++ b/examples/components/Doc.jsx @@ -2,7 +2,7 @@ import React from 'react'; import makeMarkdownRenderer from './MdRenderer'; export default { - prefix: ({classnames: cx}) =>
  • , + // prefix: ({classnames: cx}) =>
  • , label: '文档', children: [ {