shim 7 лет назад
Родитель
Сommit
87d1ae24fb

+ 3 - 3
gitbook/dev/book.json

@@ -1,5 +1,5 @@
 {
-    "plugins": [
-        "yahei"
-    ] 
+    "pdfOptions": {
+        "fontFamily": "Microsoft Yahei"
+    }
 }

+ 5 - 0
gitbook/product/book.json

@@ -0,0 +1,5 @@
+{
+    "pdfOptions": {
+        "fontFamily": "Microsoft Yahei"
+    }
+}

+ 1 - 29
src/components/myPage/fav.jsx

@@ -10,36 +10,8 @@ class Fav extends React.Component {
     }
 
     render() {
-        const columns = [{
-            title: '名称',
-            key: 'c1',
-            dataIndex: 'name'
-        }, {
-            title: '创建人',
-            key: 'c2',
-            dataIndex: 'c2'
-        }, {
-            title: '最近修改时间',
-            key: 'c3',
-            dataIndex: 'c3'
-        }, {
-            title: '操作',
-            key: 'c4',
-            dataIndex: 'c4'
-        }];
-
-        const data = [{
-            key: '1',
-            c1: 'sssss',
-            c2: 'aaaaa'
-        }, {
-            key: '2',
-            c1: '啊啊啊啊',
-            c2: 'aaaadddbb'
-        }]
-
         return (
-            <Table columns={columns} dataSource={data}/>
+            <div>收藏夹</div>
         );
     }
 }

+ 1 - 30
src/components/myPage/homePage.jsx

@@ -1,5 +1,4 @@
 import React from 'react';
-import { Table } from 'antd';
 
 class HomePage extends React.Component {
     constructor(props) {
@@ -10,36 +9,8 @@ class HomePage extends React.Component {
     }
 
     render() {
-        const columns = [{
-            title: 'HomePage',
-            key: 'c1',
-            dataIndex: 'name'
-        }, {
-            title: '创建人',
-            key: 'c2',
-            dataIndex: 'c2'
-        }, {
-            title: '最近修改时间',
-            key: 'c3',
-            dataIndex: 'c3'
-        }, {
-            title: '操作',
-            key: 'c4',
-            dataIndex: 'c4'
-        }];
-
-        const data = [{
-            key: '1',
-            c1: 'sssss',
-            c2: 'aaaaa'
-        }, {
-            key: '2',
-            c1: '啊啊啊啊',
-            c2: 'aaaadddbb'
-        }]
-
         return (
-            <Table columns={columns} dataSource={data}/>
+            <div>主页</div>
         );
     }
 }

+ 1 - 30
src/components/myPage/recent.jsx

@@ -1,5 +1,4 @@
 import React from 'react';
-import { Table } from 'antd';
 
 class Recent extends React.Component {
     constructor(props) {
@@ -10,36 +9,8 @@ class Recent extends React.Component {
     }
 
     render() {
-        const columns = [{
-            title: '名称',
-            key: 'c1',
-            dataIndex: 'name'
-        }, {
-            title: '创建人',
-            key: 'c2',
-            dataIndex: 'c2'
-        }, {
-            title: '最近修改时间',
-            key: 'c3',
-            dataIndex: 'c3'
-        }, {
-            title: '操作',
-            key: 'c4',
-            dataIndex: 'c4'
-        }];
-
-        const data = [{
-            key: '1',
-            c1: 'sssss',
-            c2: 'aaaaa'
-        }, {
-            key: '2',
-            c1: '啊啊啊啊',
-            c2: 'aaaadddbb'
-        }]
-
         return (
-            <Table columns={columns} dataSource={data}/>
+            <div>最近打开</div>
         );
     }
 }