dev01 4 mēneši atpakaļ
vecāks
revīzija
488b74923a
1 mainītis faili ar 10 papildinājumiem un 0 dzēšanām
  1. 10 0
      js/component/manageCenter/standard/content.jsx

+ 10 - 0
js/component/manageCenter/standard/content.jsx

@@ -31,6 +31,7 @@ class Content extends Component {
   }
   getKey(key) {
     switch (key) {
+      // 标准列表
       case 'standard':
         require.ensure([], () => {
           const Standard = require('./stList/index').default;
@@ -39,6 +40,15 @@ class Content extends Component {
           });
         });
         break;
+      // 标准平台链接
+      case 'standardLink':
+        require.ensure([], () => {
+          const StandardLink = require('./slLink/index').default;
+          this.setState({
+            component: <StandardLink />
+          });
+        });
+        break;
       default:
         require.ensure([], () => {
           const Module = require('../module').default;