@@ -1,5 +1,5 @@
{
- "plugins": [
- "yahei"
- ]
+ "pdfOptions": {
+ "fontFamily": "Microsoft Yahei"
+ }
}
@@ -0,0 +1,5 @@
+{
+}
@@ -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,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 {
- title: 'HomePage',
+ <div>主页</div>
class Recent extends React.Component {
@@ -10,36 +9,8 @@ class Recent extends React.Component {
+ <div>最近打开</div>